I want to make the first 3 lines gray to represent non-editable, I have already made them non-editable. I tried using Decoration.mark()
but the basicSetup
is overriding them. Furthermore, I can’t get rid of basicSetup as I need that for the other lines of code. What should be a possible approach for this?
The basic setup does not override decorations. It can unproblematically be combined with all possible types of decorations.