I need to customize every editor on the page
But they have the same css classes
Earlier in version 5 there was a setSize() method
Is there a similar method now?
I need to customize every editor on the page
But they have the same css classes
Earlier in version 5 there was a setSize() method
Is there a similar method now?
Just size their containers, pass them different themes, or use editorAttributes
to directly set a height style on the outer element.
do not see any documentation for editorAttributes property
could you please modify this example with set editorAttributes height
thanks
What about here?
Just add something like EditorView.editorAttributes.of({style: "height: 5em"})
to your extensions.