Repository navigation
Replies: 1 comment
|
Yes, I agree. I have some ideas for a configuration API that you can refer to on a per-name basics. We would first need to add support for disabling features such as markdown, and configure the editor accordingly.. |
0 replies
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.
It would be neat if you could disable certain features. I have a rich text editor that only allows bold, italic and links. This was fine in Trix because I could just disable the toolbar buttons using CSS. I can do this with Lexxy, but the problem is the markdown shortcuts for headings and code still work.
It would be nice if you could specify the nodes you want Lexxy to be initialised with (either in JS or markup) and have only those nodes pushed here https://github.com/basecamp/lexxy/blob/main/src/elements/editor.js#L170
All reactions