Q & A /

Broken icons in tinymce

Miroslav T. photo
Miroslav T. asked

Broken Font Awesome icons in my tinymce. Error in the developer console:

Error: Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

Olga Tarkova photo
Olga Tarkova answered

Your TinyMCE tries to upload embedded image (icon) on your server. The solution is to add this line to your config of TinyMCE:

"images_dataimg_filter": function(img) { return false; },
Answer accepted