Minor enhancements and bug fixes
Enhancements
- Support for controlling the behaviour or whitespace trimming using the
ContentEdit.TRIM_WHITESPACE
setting.
and<br>
tags will not be stripped from the end of editable elements if TRIM_WHITESPACE is set to false. - Support for controlling the line endings used to format the HTML output of editable elements. This allows for a minified version of the of the HTML to be output by setting:
ContentEdit.INDENT = '';
ContentEdit.LINE_ENDINGS = '';
Bug fixes
- Added surrounding
'
quote characters tourl('some-url')
values on thebackground-image
property in inline styles for theImage
element. Without on some OSs the background image want display. - Fixed issue with sub ordered lists
<ol>
not parsing correctly. - Fixed issue with IE no longer capturing an error when attempting to programmatically
blur
acontenteditable
element which was causing the browser to require the user to click twice on an element to select it.