Skip to content

Releases: GetmeUK/ContentEdit

Cloning of elements when dragging them

01 Feb 14:17
Compare
Choose a tag to compare

Setting ContentEdit.ENABLE_DRAG_CLONING = true now allows elements to be cloned when you drag them by depressing the alt key. This feature and the code for it was contributed by @cyclaero.

Fix for clearing the backround on ImageFixtures

27 Jul 15:43
Compare
Choose a tag to compare
1.3.4

Fix for clearing the backround on ImageFixtures

Fixed issue where ImageFixtures could not accept src values as data URIs

27 Jul 09:37
Compare
Choose a tag to compare
1.3.3

Fixed issue where ImageFixtures could not accept src values as data URIs

Fix for `src` method against `ImageFixture`

27 Jul 08:37
Compare
Choose a tag to compare

Fixes issue where setting the src against an image fixture previously incorrectly converted the src value to lowercase.

Minor fix

30 Aug 10:12
Compare
Choose a tag to compare

This release fixes an issue where an empty alt attribute against an image element within an img-fixture would be stripped, in this release this behaviour is changed and the empty alt attribute remains unless explicitly removed.

Change to the approach fixtures take

16 Aug 10:07
Compare
Choose a tag to compare

This release fixes a number of issues with the previous release img-fixture element. The key change however is how we handle fixtures in general. It is now expect that fixtures will return their entire HTML body not just the internals, for example a Fixture > Text element previously of the form:

<p>
    Foo
</p>

Would have returned:

>>> Pre 1.3.0

<- Foo

>>> 1.3.0 onwards

<p>
    Foo
</p>

For the same reason a new release will follow shortly for ContentTools which supports this new approach and which allows fixtures to be inspected in the editor.

Introduction of image fixtures

26 Jul 16:30
Compare
Choose a tag to compare

New features

  • New element type ImageFixture added. ImageFixtures are specifically designed to be used as fixtures (unlike images which don't work well as fixtures).

Bug fixes

  • Fixed issue with images when no width or height specified (thanks to @dlob)

Minor enhancements and bug fixes

23 Oct 23:20
Compare
Choose a tag to compare

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.

Tab indent support on PreText elements

17 Sep 15:26
Compare
Choose a tag to compare

This release primarily adds support for tab indent (and unindent) on PreText elements. At this stage it needs some in the wild testing however given tab did nothing previously it shouldn't negatively effect the user experience if there are problems to be resolved.

Minor fixes

02 Aug 18:29
Compare
Choose a tag to compare
  • Fix for issue inserting BR tags into empty paragraphs.
  • Fixed bug where br tags could not be inserted into empty text elements using the return+shift key combination.

Note: Accidentally skipped a minor release number.