The issue was related to the editorjs version, in version 2.29.0 the elements with classes ct and ct__content are rendered after the plugin constructor; in the plugin, these elements are used to customize the tooltip, so the plugin was not set correctly. The solution is to customize the tooltip after the plugin constructor is called, specifically, it is possible to use the plugin render method.
The solution was tested in other EditorJS versions without any issues.
Description
Fix #122
The issue was related to the editorjs version, in version 2.29.0 the elements with classes
ct
andct__content
are rendered after the plugin constructor; in the plugin, these elements are used to customize the tooltip, so the plugin was not set correctly. The solution is to customize the tooltip after the plugin constructor is called, specifically, it is possible to use the pluginrender
method.The solution was tested in other EditorJS versions without any issues.