Changes with Aloha.Editor 0.21.1


Manual Change

The API Method setActiveButton() of the MultiSplit component changed: the parameter must be the name of the button to set active, not the index.

The API Method setActiveButton() of the MultiSplit component changed: the parameter must be the name of the button to set active, not the index.


Manual Change

Changed the aloha-smart-content-changed event. The snapshotContent property provided bythe aloha-smart-content-changed event was replaced with the getSnapshotContent property which is a function that must be

called to retrieve the value that was provided by snapshotContent.This was done to make snapshotting of the editable contents optional, since it is a very expensive operation.


Feature

Toolbar configurability was extended. The now Aloha.toolbar.settings.tab[i].exclusive property was implemented. See the ui guide for more information.


Feature

UiPlugin API addition. UiPlugin.showToolbar() was added to the UiPlugin API. This function provides better control over when the toolbar is shown.


Feature

Aloha Blocks dropzones and configuration. Aloha Blocks now allow for additional configuration settings which allow you to disable the drag‘n‘drop functionality of blocks globally or for individual editables as well as defining customdropzones for each editable. See http://www.aloha-editor.org/guides/plugin_block.html#en-disabling-drag-drop-for-blocks for details.


Enhancement

Aloha Editor will now add the browser version to the html dom node (see http://www.aloha-editor.org/guides/core.html#initialization-process)


Enhancement

numerated-headers-plugin: Added a &nbsp to the annotation, to seperate it from the heading‘s text.


Enhancement

table-plugin: We now show the summary textarea in the sidebar if a click on the wai-image was issued.


Bugfix


Bugfix

Fixed the qUnit tests for following commands to work in IE 7/8/9, latest Firefox and Chrome.

  • Bold
  • Italic
  • Subscript
  • Superscript
  • CreateLink
  • Unlink
  • Underline
  • Strikethrough
  • FormatBlock
  • RemoveFormat
  • Indent
  • Outdent
  • InsertOrderedList
  • InsertUnorderedList

Bugfix

A debugger statement was removed.


Bugfix

Missing implementations to show and hide items in a multisplit button have been added.


Bugfix

Fixed some random and weird selection problems in IE7, where some actions (like Enter behaviour) were not performed on the correct cursor position. Sometimes there also occurred some JS errors.


Bugfix

Fixed Transforming an empty contenteditable into a list, which caused the contenteditable container to disappear.


Bugfix

Loading errors that occured when a second jQuery was loaded below aloha.js were fixed.