[Bug] problem of styling with ckeditor(4)
Question
Hello @artf and all !
Thanks again for the amazing job !
I tried to implement ckeditor with grapesjs and it seems to work pretty much correctly but today I found something weird. I tried to screenshot this, let me know if it's not clear...
-
I select a text in white, it styles the span element, all fine.

-
I save my work, I reload the page
-
The white style has gone, hasn't been saved. And I can't change the color anymore (but bold works). The
<span style="color:#ffffff;">HELLO</span>has turned into<span data-gjs-type="text" data-highlightable="1" id="iiklo" class="cke_editable cke_editable_inline cke_contents_ltr cke_show_borders" contenteditable="false" spellcheck="false">HELLO</span>

Thanks a lot
Answers (3)
@artf you first thought was the right one ! I still double checked my code and it turned out that someone had changed my code and was indeed loading the HTML and not the JSON anymore... ¯_(ツ)_/¯ So sorry for this loss of time...
hey @hpruvot did you setup correctly the remote storage https://grapesjs.com/docs/modules/Storage.html#setup-remote-storage I believe you're storing/loading the HTML instead of the JSON
Hi @artf ! I'm storing and loading JSON though, to be able to re edit my templates after saving them, and it works just fine for the rest of my components... :/
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1748
How to prevent drag items inside the editor
Hello @artf You are doing great job with grapesjs and it's extremely helpful to make our functionality more user friendly. Thanks for creat...
Issue #1749
[Bug]: conditional comments getting removed on latest version
@artf comment in #208 this is working in older versions but not in 0.14.50. Is there any work around available? I've tried adding it in plu...
Issue #1605
Can we implement Paste as Rich text editor options in Rte?
hi @artf I've gone through this Drag and Drop Editor and what an amazing work. I also read your docs and I tried to extend rich text editor...
Issue #1865
[Bug]: Grapes change page position
Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.