How to make a TextEdit line non-editable?

Godot Version

4.2

Question

I want to disable editing of a single line in TextEdit or some specific lines. But allowing new lines to be created before or after the disabled line. For example: line 2 was disabled, when clicking on line 1 and pressing enter, TextEdit behaves normally by pushing all content down, which makes line 3 now disabled. If anyone has any ideas it would be a great help!!

For disabling edition you just flip the editable property in the LineEdit.
For inserting an object after another, you use add_sibling().