Skip to content

Releases: SimplyEdit/simplyedit

Small fixes in rendering and startup

22 Mar 10:43
Compare
Choose a tag to compare

Numerous small fixes in rendering and startup

  • improved check on block tags in editmode
  • fixed incorrect reference of simply-data-path in lists
  • added cloning of objects in lists, so that no references to any databindings are passed
  • when rendering fields as template, keep the data reference to the field parent (don't change the scope to the field data)
  • improved databinding housekeeping and cleanup when document fragments are removed from the DOM
  • improved pasting HTML in elements that only allow inline elements
  • improved handling of lists (ol, ul) and list items
  • improved handling of textarea's and inputs inside templates
  • fixed loss of focus in Chrome when calculating the toolbar position
  • fixed screen bouncing behaviour when rerendering lists

Quick fix for Beaker and text-only content

20 Mar 09:16
Compare
Choose a tag to compare

We failed to spot a bug in the dat storage module, used by the Beaker browser, that prevented changes from being saved. This is now corrected.
In addition we noticed that the new text-only code for data-simply-content="text" incorrectly handled special characters (<.>.& and "). This has been fixed as well.

Improved editing experience, API consistency and cross browser support

19 Mar 09:32
Compare
Choose a tag to compare

This release adds a lot of small improvements in editing experience, API consistency and in cross browser support.

Editing improvements

  • Added support for images with .jpeg extension
  • Improved editing support for switching between ordered and unordered lists, and other block formats
  • improved text-only field support, fixes problems with disappearing text content
  • Disallow incorrect content nesting, e.g. <h1 data-simply-field="title"></h1> no longer allows you to insert a H2 element.

Improved UX in Firefox

  • fixed a bug that made the floating toolbar stay visible when typing
  • when starting the editor, it no longer focuses the last editable field automatically

API improvements

  • better handling of null values and String objects in fields
  • you can now add properties to the root object in editor.pageData
  • limited all event listeners to simply-edit fields and lists only, prevents unintended effects with third party javascript components
  • allow arrays for field values, using data-simply-transformer
  • fixed a bug where in complex cases the databinding would incorrectly use old values

Improved data-simply-list

  • allow using sub properties as a list ( data-simply-list="object.property" )
  • remembers the selected list item on full list update
  • give console errors when using a template rel="id" and the given id is not found

Beaker storage

  • fixed saving to non-default data.json endpoint, now saving and retrieving use the same endpoint