📜 ⬆️ ⬇️

WebKit + TinyMCE = Bad Template Editor

Recently I ran into a problem in Safari, Chrome with such a wonderful WYSIWYG editor like TinyMCE. This editor stops working normally in these browsers by editing the following data:
(in. data)
<table> {{row}} <tr> <td> {{name}} </ td> <td> {{email}} </ td> </ tr> {{endrow}} </ table>

And we get something like this:
<p> {{row}} {{endrow}} </ p> <table> <tbody> <tr> <td> {{name}} </ td> <td> {{email}} </ td> </ tr> </ tbody> </ table>

As you can see, the template structure is already broken. I wonder your opinion, and maybe the solution. (specific editor settings do not give any solution)

')

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


All Articles