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

mj-navbar and CKEditor #327

Closed
pepoteloko opened this issue Jun 19, 2023 · 3 comments
Closed

mj-navbar and CKEditor #327

pepoteloko opened this issue Jun 19, 2023 · 3 comments

Comments

@pepoteloko
Copy link

Hello,

I use grapesjs-mjml and grapesjs-plugin-ckeditor, and I discover than I cannot edit the text of the the navbar-links.
I disable CKEditor and now I can edit the link text.
I try it on the demo page and the same is happening: https://grapesjs.com/demo-mjml.html

The console says:
Error: The specified element mode is not supported on element: "a". I understand that is saying: "CKeditor do not works on links".

It's a bug? Or it's a feature? 😄 There is any workaround?

@artf
Copy link
Member

artf commented Jun 20, 2023

Yes, you have to enable the editing of a via CKEditor

@artf artf closed this as completed Jun 20, 2023
@pepoteloko
Copy link
Author

I try to enable the editing of a, but i goes wierd. When I change styles, change URL, any change in the sidebar, text gets duplicated. If my link is Hello, and I change color, padding and font-size, I got HelloHelloHelloHello 🤣

@artf
Copy link
Member

artf commented Jun 23, 2023

@pepoteloko the latest version fixes it

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

No branches or pull requests

2 participants