tinyMCE cut tags
11.11.2011 15:05:32 Often creates problems tinyMCE editor cutting of the text-specific tags, such as: <noindex>, <object>, <style>, <param>, <embed> and many others.A little digging on the internet I found a solution. It turns out the solution is quite simple
when initializing the editor to add value extended_valid_elements and list the required elements.
example:
tinyMCE.init ({extended_valid_elements: "noindex, iframe, object, style, param, embed"});
An example of a strongly simplified and unnecessary in this case, the values are omitted.
But unfortunately all this does not solve the problem, for example tag <style> commented, slightly changes the situation adding one more parameter verify_html: false, while the tag itself is not removed butthe content is still commented html (<!-- -->), but these styles are applied to the document ...
That is, in principle, and all
Рейтинг $r-- [1] $r++
Показать коментарии (vkontakte.ru)}