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
})
) |
6 replies
Answer selected by
ShravanSunder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I couldn't find this in the docs. What option do i use to make the Milkdown editor readonly? @Saul-Mirone
thanks!
All reactions