learning editor.js, why renderAction() disappears #2862
-
Hi, I'm trying to understand how editor.js works. I've been following the documentation on 'creating a block tool' and have now moved on to the section about 'Creating an Inline Tool.' To learn more, I’m studying this editorjs-hyperlink: However, I'm running into an issue with renderActions(). When I click on the inline button, the renderActions() implementation briefly appears but then immediately disappears. This started happening as soon as I began writing code in the surround() method, but I don't understand why this is happening and how to fix it. demo.mp4And an example "marker button" here: demo Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ok, I understand that I'm not managing the event listener correctly. I will work on this. Sorry for the inconvenience. |
Beta Was this translation helpful? Give feedback.
Ok, I understand that I'm not managing the event listener correctly. I will work on this. Sorry for the inconvenience.