We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would disable the use of return-key on a specific element.
<div class="editable" data-disable-returns="true"></div>
This will disable the use of return keys on all elements.
var elements = document.querySelectorAll('.editable'); new MediumEditor( elements, { enableReturn: false });
This would disable the toolbar on a specific element.
<div class="editable" data-disable-toolbar="true"></div>
This will disable the use of the toolbar on all elements.
var elements = document.querySelectorAll('.editable'); new MediumEditor( elements, { disableToolbar: true });
__
Let me know if you want the pull-request.
The text was updated successfully, but these errors were encountered:
Hey Thomas, sure, just send it away. Thanks! 😃
Sorry, something went wrong.
Merge pull request #43 from tkjaergaard/enhancement/disable-return-an…
c901c20
…d-toolbar-on-elements Added feature updates and tests #41
Merge pull request yabwe#43 from tkjaergaard/enhancement/disable-retu…
0ea3458
…rn-and-toolbar-on-elements Added feature updates and tests yabwe#41
No branches or pull requests
Disable the availability for the user to use return-key on element(s).
This would disable the use of return-key on a specific element.
This will disable the use of return keys on all elements.
Disable the toolbar when user selects text
This would disable the toolbar on a specific element.
This will disable the use of the toolbar on all elements.
__
Let me know if you want the pull-request.
The text was updated successfully, but these errors were encountered: