Skip to content

Minor enhancements and bug fixes

Compare
Choose a tag to compare
@anthonyjb anthonyjb released this 23 Oct 23:20
· 12 commits to master since this release

Enhancements

  • Support for controlling the behaviour or whitespace trimming using the ContentEdit.TRIM_WHITESPACE setting. &nbsp; 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 to url('some-url') values on the background-image property in inline styles for the Image 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 a contenteditable element which was causing the browser to require the user to click twice on an element to select it.