Title: Line breaks in values causing errors
Last modified: August 31, 2016

---

# Line breaks in values causing errors

 *  [b-rad](https://wordpress.org/support/users/b-rad/)
 * (@b-rad)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/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_style` and 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.
 * [https://wordpress.org/plugins/advanced-tinymce-configuration/](https://wordpress.org/plugins/advanced-tinymce-configuration/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/line-breaks-in-values-causing-errors/#post-8541425)
 * I’m afraid no. Both the name and value have to follow JS syntax. It doesn’t allow
   line breaks in strings.

Viewing 1 replies (of 1 total)

The topic ‘Line breaks in values causing errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-tinymce-configuration.svg)
 * [Advanced TinyMCE Configuration](https://wordpress.org/plugins/advanced-tinymce-configuration/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-tinymce-configuration/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-tinymce-configuration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-tinymce-configuration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-tinymce-configuration/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/line-breaks-in-values-causing-errors/#post-8541425)
 * Status: not resolved