You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, unfortunately you can use only component events which are presented in our documentation. However, you can listen to keydown event directly from the editing area and capture all keys.
To do that, let's prepare a simple plugin:
functionCaptureKeys(editor){editor.editing.document.view.on('keydown',(evt,data)=>{console.log(data);console.log('Pressed key: '+data.domEvent.key);// Do something on keydown...}}
Hey,
im trying to build a CKEditor application with Vue, where I want to save every single keystroke to a csv file.
Therefore I want to use the keydown event, but I can't get it to work.
Or are the only component events in vue the ones listed here?
https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html#component-events
In my template I currently have:
The text was updated successfully, but these errors were encountered: