Changes with Aloha.Editor 0.20.13


Enhancement

core: The getEditableConfig will now also return the selector within the configuration object. This only applies to custom editable configurations that provide objects instead of arrays since arrays can‘t be extended with custom properties. The returned object will now also contain nested arrays. Previously nested arrays were omitted.


Enhancement

plugin highlighteditables: configurable per editable; CSS can be adapted;


Enhancement

Removed unwanted behaviour from the block plugin‘s sidebarattributeedtior, which will clear out the whole sidebar when loaded


Enhancement

table plugin: enabled format tab when a whole row/column is selected via click on the row/column header


Enhancement

added / updated guides for plugins


Enhancement

added a new helper function jQuery.isEmpty() to check if a mixed var is empty or not


Enhancement

enabled linklist.js so it‘s possible to use the settings for your own list (removed the default entries)


Enhancement

sanitize contenthandler: allow attribute target for the a element in the relaxed config


Enhancement

A whole lot of Plugins can now be configured editable-specific configuration: abbr, highlighteditables, list, horizontalruler, link, paste, headerids, listenforcer, metaview, numerated-headers, wai-lang, cite, characterpicker, formatlesspaste, dom-to-xhtml. Have a look at the individual plugin guides for detailed information on how to configure them.


Enhancement

Added functional description for plugins


Bugfix

core: Fixed enter behaviour in lists. Before executing command “insertparagraph”, whitespace textnodes around list elements are removed, because the algorithm isn‘t prepared to handle whitespace textnodes.


Bugfix

commands: Fixed possible browser hang (due to an infinite loop) that occurred, when using the command ‘inserthtml‘ to insert content into an editable span, that is not allowed inside a span (e.g. a h1). This browser hang could occur when using the paste plugin to paste content, since that uses the command ‘inserthtml‘.


Bugfix

generic contenthandler: Changed to always remove div, span and font tags, regardless of the setting of the contentEditable attribute. This fixes problems, when e.g. having an editable span and then pressing [CTRL-A] [CTRL-C] [CTRL-V].


Bugfix

sanitize contenthandler: disabled for IE7, because it does not work well in IE7 (sanitize tries to set attributes via setAttributeNode() to DOM Elements, and this does not work for the “style” attribute in IE7)


Bugfix

core: Fixed possible Javascript error when cleanup operation is done (e.g. after pasting text into an editable).


Bugfix

core: Fixed Javascript errors that occurred in IE7 when pressing Enter at the end of paragraphs (multiple times).


Bugfix

commands: Fixed unwrapping of tags in fixDisallowedAncestors, which possibly removed the editing host when pasting into spans, h1, ...


Bugfix

core: Fixed the fix for IE7 crashes


Bugfix

citation plugin: Fixed javascript errors on initialization and possible endless loop when adding inline citations.


Bugfix

commands: fixed weird behaviour when using the backspace key to delete text (cursor was jumping).