Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve error in editorJS v2.29.0 #123

Conversation

MarioRodriguezS
Copy link
Contributor

Description

Fix #122

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.

src/index.js Outdated Show resolved Hide resolved
Copy link
Member

@miguelnietoa miguelnietoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MarioRodriguezS 🚀

@MarioRodriguezS MarioRodriguezS merged commit 8cb6854 into kommitters:v1.2 Mar 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants