filament-tinyeditor
filament-tinyeditor copied to clipboard
Unable to Insert SVG Images
I am trying to insert SVG code directly into the TinyMCE editor using the source code view, but when I do so, the SVG content is being saved as empty, and the SVG elements are automatically deleted.
After researching the issue, I found that adding the configuration extended_valid_elements = '[]' could allow custom empty tags like SVG to be uploaded properly. I added this configuration to the TinyMCE settings, but I am still encountering the same issue where the SVG content does not stay in the editor.
Could you help me please ?