Prevent specifics commands/action #4486
Answered
by
ivailop7
ceberterreche
asked this question in
Q&A
-
|
Hi, I would like to only allow the user to create comments and prevent him from performing any other actions. Is there a way to do this? Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
ivailop7
May 11, 2023
Replies: 1 comment
-
|
You can make the editor read-only and disable any toolbar buttons you may have and have the popover on text selection show up to add a comment. The playground already offers the read-only example (lock icon, bottom right), you just have to edit the commenting plugin to ignore the read-only flag. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ceberterreche
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can make the editor read-only and disable any toolbar buttons you may have and have the popover on text selection show up to add a comment. The playground already offers the read-only example (lock icon, bottom right), you just have to edit the commenting plugin to ignore the read-only flag.