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

Figure out how to stop propogation on html code #180

Closed
djplaner opened this issue Jan 23, 2023 · 1 comment
Closed

Figure out how to stop propogation on html code #180

djplaner opened this issue Jan 23, 2023 · 1 comment

Comments

@djplaner
Copy link
Owner

djplaner commented Jan 23, 2023

Quill html code keydown not working

Moving to html code view it opens a textarea for which the stopPropogation is not turned on

Caused by sentry.io apparently capturing key events

And of course idiot, you're not using Quill - you're using cl-editor

Fixed

Using this mod to cl-editor

@djplaner
Copy link
Owner Author

djplaner commented Jan 25, 2023

Exploration

Current onMount works by getting editorId on the <Editor component - which is the div. There's also a textarea as the next element...HTML code switches to the textarea

That is done, but stopping that propogation means that the changes made aren't showing up in collections. Only in the textarea

djplaner added a commit that referenced this issue Jan 26, 2023
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