kommitters / editorjs-tooltip

Tooltips for editorjs
https://www.npmjs.com/package/editorjs-tooltip
MIT License
37 stars 15 forks source link

Fix custom holder isn't working #109

Closed CristhianRodriguezMolina closed 1 year ago

CristhianRodriguezMolina commented 1 year ago

Description

Fix #107

The tooltip button in the inline tools bar wasn't appearing when changing the holder of the EditorJS instance, for example: image

Solution

It was necessary to compile the bundle.js again because in the code we are using the holder from the configuration, but this wasn't in the compiled file and was always using "editorjs" as the holder name:

bundle.js before: image

bundle.js after: image image