This issue first appeared in JCE 2.6.9, and is still present as of 2.6.19.
Starting condition: In the Plugin Parameters page of a JCE user profile, create a custom entry in the "Select Style" list having an integer value for one of the parameters its the "Styles" field. For example: "text-indent: 0".
Symptom: Any action that tries to re-display the "Editor" tab hangs trying to show the toolbar:
Switch to the "Code" view then attempt to switch back
Insert an image
Insert a link
Problem: Compare the generated page source when using "text-indent: 0" and when using "text-indent: 0em":
{"title":"No spacing","styles":{"text-indent":0,"margin-bottom":"0em"},"selector":...
{"title":"No spacing","styles":{"text-indent":"0em","margin-bottom":"0em"},"selector":..
In the first case, with the integer value, the quotes are missing. I'll leave it to the developers to work out just why this breaks the page.
This issue first appeared in JCE 2.6.9, and is still present as of 2.6.19.
Starting condition: In the Plugin Parameters page of a JCE user profile, create a custom entry in the "Select Style" list having an integer value for one of the parameters its the "Styles" field. For example: "text-indent: 0". Symptom: Any action that tries to re-display the "Editor" tab hangs trying to show the toolbar:
Problem: Compare the generated page source when using "text-indent: 0" and when using "text-indent: 0em": {"title":"No spacing","styles":{"text-indent":0,"margin-bottom":"0em"},"selector":... {"title":"No spacing","styles":{"text-indent":"0em","margin-bottom":"0em"},"selector":.. In the first case, with the integer value, the quotes are missing. I'll leave it to the developers to work out just why this breaks the page.