Open zizther opened 4 years ago
Can you give a code sandbox link with your code reproducing the issue?
Here a codepen example - https://codepen.io/zizther/pen/oNjGeGb?editors=1010
I have included jQuery as it is in my example, but you can replicate the same issue without jQuery. I have just used the code example from the docs.
You will have to wait for editor to become ready first https://editorjs.io/configuration#use-isready-promise
Got ya.
You can place it in the onReady
callback or listen to the isReady
promise.
Would be nice for that to be clearer in the docs.
Calling the .save() function does not work, with the console error saying
Uncaught TypeError: editor.save is not a function
I have tried several ways to to initialise editor.js, even with the examples from the docs (https://editorjs.io/saving-data), it still displays the error.
The only other JS library being used is jQuery.
Any thoughts on how I can get this working, or help debug? Thanks
Editor.js version: 2.17.0
Plugins you use with their versions: Header Quote Delimiter