GrapesJS / mjml

Newsletter Builder with MJML components in GrapesJS
http://grapesjs.com/demo-mjml.html
BSD 3-Clause "New" or "Revised" License
618 stars 218 forks source link

mj-navbar and CKEditor #327

Closed pepoteloko closed 1 year ago

pepoteloko commented 1 year ago

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 commented 1 year ago

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

pepoteloko commented 1 year ago

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 commented 1 year ago

@pepoteloko the latest version fixes it