Quill Editor
-
I wrote some js to scroll through comments on keyup of certain keys but with the new version of wpdiscuz, Quill editor is breaking the functionality. I updated the selectors to make the shortcuts work again but now if you press any of the shortcut keys while typing a comment, the shortcuts execute instead of typing that letter (i.e. K goes to next comment). I need to write a conditional statement to check to see if the quill editor is currently in focus but I’m getting an error message that quill is not defined. I had a look through /assets/wpd-editor.js to see how the new Quill instances are being created so I’m not sure why I can’t seem to use quill.is(‘:focus’) or editor.is(‘:focus’). Any ideas?
- The topic ‘Quill Editor’ is closed to new replies.