Line breaks in values causing errors
-
This is a very handy plugin, however I noticed it seems to have issues with line breaks in the values.
For example, if I have an option name of
content_styleand the value of:body#tinymce {margin: 0 10px; font-family: sans-serif; }table.mce-item-table {width:100%;} .frame{margin: 4px;padding: 4px;background: #EEE;border: 1px solid #CCC;}where everything is on one line, it works fine.
However if I use the same value, but enter line breaks to make it readable, like:
body#tinymce {margin: 0 10px; font-family: sans-serif; } table.mce-item-table {width:100%;} .frame{margin: 4px;padding: 4px;background: #EEE;border: 1px solid #CCC;}it causes JavaScript errors and TinyMCE won’t even load.
Any way to handle the breaks? Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Line breaks in values causing errors’ is closed to new replies.