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

Ajax save will not save content corrected by CKeditor #55

Open
gbastien opened this issue Nov 27, 2020 · 0 comments
Open

Ajax save will not save content corrected by CKeditor #55

gbastien opened this issue Nov 27, 2020 · 0 comments
Assignees

Comments

@gbastien
Copy link
Member

gbastien commented Nov 27, 2020

Hi @gotcha

let's say we have this text <p><strong>Text</strong></p> then we disable <strong> button in config, when editing again, CKeditor will automatically fix it to <p>Text</p> and remove the <strong> everywhere, in this case, the "Save" button does not save because it detects no change...

I would either try to see in CKeditor if it is possible to use something else than editor.checkDirty() to detect changes or simply remove this check, if the user wants to save, then let him save.

What do you think?

Thank you!

Gauthier

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