📜 ⬆️ ⬇️

Special HTML characters in TinyMCE and other WYSIWYG editors

Today, one client complained that he couldn’t insert the most common special Δ character on his Joomla website, which is written using an HTML entity:
  & Delta 

Indeed, it turned out that this symbol is not saved in the text, regardless of whether you add it using the Insert Custom Character button, or simply insert it by switching to HTML mode. As a result, the character is simply replaced by a question (the coding of the site, while UTF8).

I suspect a similar problem with many other special HTML characters.

For Joomla, I found only one way out (this advice is given here: www.compassdesigns.net/joomla-blog/Editing-HTML-in-a-Joomla-Module-or-Article.html ): if you need to use such symbols, you need to create separate user and as an editor set him «No Editor». In this case, all specials. characters are saved normally. Obviously, this is not a very “beautiful” way out, you still need to re-sign and have some HTML-coding skills, besides, you must always remember which materials can be edited in a WYSIWYG editor, and which cannot.
')
Maybe someone knows alternative solutions? Or advise a more reliable / convenient visual editor for Joomla (and possibly other CMS)?

UPDATE: The problem was in the Joomla version (the client still has Joomla 1.5.2). At least on the last one (1.5.7) everything works correctly.

Source: https://habr.com/ru/post/42854/


All Articles