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

TinyMCE (both new and old) strips svg #3701

Open
empiricompany opened this issue Dec 12, 2023 · 4 comments
Open

TinyMCE (both new and old) strips svg #3701

empiricompany opened this issue Dec 12, 2023 · 4 comments
Labels

Comments

@empiricompany
Copy link
Contributor

Preconditions (*)

Steps to reproduce (*)

  1. Insert an svg in code editor
  2. Switch to TinyMCE
  3. Hide editor

Expected result (*)

  1. Svg elements not removed

Actual result (*)

  1. All svg are removed
@fballiano
Copy link
Contributor

can we add it in #3653?

@empiricompany
Copy link
Contributor Author

I opened a separate case because it seems to me a different issue, not so urgent, and I didn't want to add complexity and delay the approval of the other PR. In fact, even with the old editor, it removes the SVGs, so it's not a bug introduced by the new editor.

@fballiano
Copy link
Contributor

@empiricompany is this still happening today?

@empiricompany
Copy link
Contributor Author

Yes, I haven't had time to fix it yet.
At the moment I use my own extension that allows you to disable the editor for specific cms / static blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants