0

How can I set a line fixed in Monaco Editor ?

One can edit the content before or after the fixed line. But she cannot edit or remove the fixed line.

Mr.Wang from Next Door
  • 13,670
  • 12
  • 64
  • 97

1 Answers1

0

It is not possible to lock (aka. read-only) individual lines. You can only set the entire editor to read-only.

Mike Lischke
  • 48,925
  • 16
  • 119
  • 181