Possible bug, editor removes spaces from formatted tags. #5142
Replies: 1 comment 2 replies
-
You should load the projectData you stored before, not the html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@artf See the example below
video-convert-1684981370304.webm
my functions to save:
const editorState = await this.editor.getProjectData()
this.editor.loadProjectData(JSON.parse(pageUser.editor))
if I use this.editor.setComponents(pageUser.html);
everything seems to work fine but I lose the project data, the template is loaded however, without defined colors, background and etc.
Has anyone experienced this or know if this is a problem?
Beta Was this translation helpful? Give feedback.
All reactions