How do we set the editor to readonly? #1020
Answered
by
Saul-Mirone
ShravanSunder
asked this question in
Q&A
Replies: 1 comment 6 replies
-
ctx.update(
editorViewOptionsCtx,
config => ({
...config,
editable: () => false
})
) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
ShravanSunder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't find this in the docs. What option do i use to make the Milkdown editor readonly? @Saul-Mirone
thanks!
Beta Was this translation helpful? Give feedback.
All reactions