Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable content editing unless they use Medium Toolbar #1378

Closed
goper-leo opened this issue Oct 11, 2017 · 1 comment
Closed

Disable content editing unless they use Medium Toolbar #1378

goper-leo opened this issue Oct 11, 2017 · 1 comment

Comments

@goper-leo
Copy link

Description

I've read about the disableEditing on the core options but it disable all the editing.
Use case:
I want user to use medium toolbar like "Bold", "Italic" etc but they can't modify the text inside of the content. Is this possible? Or I will make a new extension to get what I want?

Steps to reproduce

  1. Add disableEditing and set to true on the editor options.

Expected behavior: User cannot edit the content but when medium toolbar is used that configuration will be override (disableEditing).

Actual behavior: Nothing happens

  • medium-editor:
  • browser:
  • OS: Linux
@goper-leo
Copy link
Author

Nevermind I've created an extension and works fine. Thanks. Using rangy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant