I'm using Grapesjs as my newsletter editor and which made two problem happened.
Q1/ I've used ckeditor as my text editor. but after being stored in the database, the attribute of the text will translate from data-gjs-type="text" to data-gjs-type="default", and after that text can't be editable. I stored my code as HTML+CSS in database, is it possible if I can store it in HTML+CSS and my text can be still available to edit after saving? I search on google I've seen someone mention we can save as Json to prevent this happen, but I wonder is it possible if save in HTML+CSS?
Q2/ I had set a limit to a component about can't be copyable and removable(data-gjs-removable="false" data-gjs-copyable="false"), as the same problem i mentioned, it's been removed after save, so can i ask if it possible to keep my attribute after save?
we did try to edit all.js to control grapesjs not to change our code, but seems like theres the other js will replace the setting we set on all.js . And also we tried to find in grapesjs document and setting, and we reli cant find any idea how to stop grapesjs to change our code.