Aloha.Editor Changelog Summary

Aloha.Editor 0.22.7


Feature

textcolor-plugin: Introducing the textcolor plugin, which will allow you to apply color to sections of text


Feature

table-plugin: Introducing table cell resize capabilities [table plugin](http://www.aloha-editor.org/guides/plugin_table.html) – Note: the feature is currently disabled by default.


Bugfix

blocks: Selecting with +A, when inside of a nested editable, will now only select all of the contents of the immediate editable, rather the contents of parent editables as well.


Bugfix

image-plugin: Fix numerous bugs with resizing and cropping and improve overall usability


Bugfix

vendor/repository-browser: Updates repository browser with fix to not listing repository folders multiple times into wrong repositories on the tree.


Bugfix

core: getEditableHost() returns nearest editable rather than the furthest.


Bugfix

link-plugins: Fixed inserting of links so that links that span multiple elements are not unnecessarily split into fragments.


Bugfix

table-plugin: Tables inside blocks will no longer be transformed into editable Aloha Editor tables.


Bugfix

table-plugin: Fixed the cursor problem with ie7. Now ie7 shows the system default arrows.


Bugfix

core: Fixes numerous issues with repository manager including how query() and getChildren() handle immediate, and asynchronous repositories.


Bugfix

core: Fixed disappearing attributes in browsers that do not support outerHTML.


Bugfix

ui: Floating toolbar will attempt to adjust is positioning to remain entirely in the viewport whenever possible.


Aloha.Editor 0.22.6


Enhancement

documentation: Guides and documentation was improved for the validation plugin


Aloha.Editor 0.22.5


Feature

validation-plugin: Introducing [validation plugin](http://www.aloha-editor.org/guides/plugin_validation.html)


Bugfix

core: Some i18n strings within some modal dialog buttons were fixed.


Bugfix

core: Fixed Aloha‘s initialization order to ensure that repositorymanager will be initialized before plugins are initialized.


Bugfix

metaview-plugin: We now disable the metaview once the editable is deactivated.


Aloha.Editor 0.22.4


Feature

core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html


Enhancement

table plugin: IE fix - the selection of multiple cells was not possible when the selection started in the text; there was no workaround so it's now possible to select coherent cells when you "shiftclick” into the second cell of the range you want to select


Enhancement

The metaview view can now be enabled per editable.
Aloha.settings = {
plugins: {
metaview: {
editables: {
‘#top-text‘: [‘metaview‘,‘enabled‘]
}

}
}

};


Bugfix

characterpicker & horizontalruler: Fixes icon styling to display correct images event when a user-specified jquery ui stylsheet is included in the page.


Bugfix

core/aloha-links: Prevents yellow borders around aloha-links blocks


Bugfix

the underline button didn‘t show up in the toolbar after adding the ‘u‘ in the format-plugin configuration.


Bugfix

link-plugin: link scope remains active after the selection leaves an anchor element


Bugfix

core/plugins: Fixed plugin initialization to ensure that the “aloha-ready” event is not fired before all plugins have notified that they are fully initialized.


Bugfix

dom utils: fixes potential bug that may cause attributes with the slash ‘/‘ character in the name to appear in the result of getContents().


Bugfix

core/selection: Aloha no longer inadvertently removes ranges that are outside of editables.


Bugfix

characterpicker: popup now follows the floating menu while scrolling


Bugfix

table-plugin: Ensures that the range is maintained when clicking inside table cells.


Bugfix

block-plugin: Fixed handling of copy & paste in editables that are nested inside blocks. Before this fix, when pressing CTRL-C to copy the current selection in an editable nested inside a block, the whole block was selected and copied.


Bugfix

blocks: The floating menu will appear when the editor double-clicks in an editable block.


Bugfix

word content handler: Fixed handling of pasted MS Word content to not result in broken markup when the content contains tables with cells that are all empty.


Bugfix

All repositories have been queried even if a target repository has been spezified. Now only the spezified repository is queried.


Bugfix

formatlesspaste-plugin: Formatless Paste Plugin fixed to correctly process configuration settings.


Bugfix

block-plugin: Fixed activation of correct block when active editable is changed using Keys (Tab, Shift-Tab) or programmatically.


Aloha.Editor 0.22.3


Manual Change

Added a demo of placeholders to boilerplate;

Added a demo of placeholders to boilerplate;


Manual Change

Updated UI CSS regarding button selector;

Updated UI CSS regarding button selector;


Feature

align-plugin: the align plugin is now capable of aligning table cell contents


Feature

align-plugin: The align plugin is now capable of aligning table cell contents.


Feature

table-plugin: table cells can now have individual classes like rows and columns


Feature

improved translation export from gengo.com to Aloha Editor

Aloha.settings.plugins: {
captionedImage: {
allowLinebreak: [ 'p' ], // ['br', 'p'], true or false (default)
}

}


Feature

core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html


Enhancement

RepositoryBrowser: The repository browser will now correctly handle localisation for the languages english and german.


Enhancement

browser: The old browser plugin was removed. The browser-plugin was replaced by the repository browser vendor plugin.


Enhancement

Trigger the ‘aloha-smart-content-changed‘ event with `triggerType` = `block-change` whenever an attribute of an Aloha Block is changed.


Bugfix

Fix support for editable anchor elements


Bugfix

core/aloha-links: Prevents yellow borders around aloha-links blocks


Bugfix

All repositories have been queried even if a target repository has been specified. Now only the specified repository is queried.


Bugfix

Fix calling mahalo in a blur event handler


Bugfix

blocks: The floating menu will appear when the editor double-clicks in an editable block.


Bugfix

Fix base tag breaks Aloha Editor UI


Bugfix

table-plugin: Fixed a javascript error that occurred when pressing enter in the table wai attribute field.


Bugfix

added aloha-cleanme class to aloha-block-handle to prevent potential issues with temporary elements not being cleaned up.


Bugfix

link-plugin: link scope remains active after the selection leaves an anchor element


Bugfix

core/selection: Aloha no longer inadvertently removes ranges that are outside of editables.


Aloha.Editor 0.22.2


Feature

core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html


Bugfix

table-plugin: A javascript error was fixed that occured when removing the whole table.


Aloha.Editor 0.22.1


Feature

list-plugin: When transforming a list from ul to ol or back all sub elements that are selected are also transformed.


Feature

repository browser: If one of the repositories runs into a timeout during query, the browser will now call the method handleTimeout().


Feature

metaview: We now also display HR tags in the metaview. We also removed the dependency to the flag-icons plugin.


Feature

abbr-plugin: We added a remove abbreviation button to make the functionality more consistent with the wai-lang plugin.


Feature

core: Added method Aloha.getEditableHost() to get the editable, that contains the given jQuery object.


Enhancement

Aloha Blocks will now publish a message on the channel “aloha.blocks.initialized” when a block is fully initialized.


Enhancement

The Block Plugin now allows you to configure your own root tags for block creation. Every time you create a new block, the block plugin will check if its root node is supported. You may now change the roots nodes and use your own list root tags. If you want to use Aloha Blocks drag‘n drop functionalities we strongly suggest that you do not use other root tags than div and span. See the guides at http://www.aloha-editor.org/guides/plugin_block.html for further information.


Enhancement

Aloha Editor will no longer annotate end
tags, which
are used to prop up empty block-level elements that would be
otherwise rendererd invisbly, with the “aloha-end-br” class.
This should result in cleaner markup.


Bugfix

Added missing icon for the block plugins toggledragdrop button


Bugfix

core: Sometimes when putting the cursor at the first position of an editable, the cursor would vanish or be put outside the editable. This has been fixed.


Bugfix

characterpicker-plugin: Fixed a bug that when inserting a special character using the character picker plugin, the focus would be sometimes set to the start of the active editable (e.g. when inserting into a table cell).


Bugfix


Bugfix

Moved call to execCommand(‘enableObjectResizing‘, false, false) to init method of editable. Otherwise, FF 15 (and above) will throw a JS error, if execCommand(‘enableObjectResizing‘, false, false) is called with no contenteditable elements found in the page.


Bugfix

Fixed Javascript error when doing searches in the repository browser (which caused to search to not be done).


Bugfix

Rangy Core: Patches Rangy to include a workaround for html5shiv‘s
violation of document.createElement().

As detailed in this discussion:
https://github.com/aFarkas/html5shiv/issues/64: html5shiv monkey
patches the native document.createElement() function in browsers like
IE8 and older, which do no support HTML5. However, it does in a way
that seriously deviates from the contract that the native
document.createElement() function establishes, because it creates
elements which have non-null siblings and parentNode.

This violation causes Rangy to throw an exception in IE8 or IE7.

The workaround prevents this error by detaching the element that was
created via html4shiv‘s implementation of document.createElement() from
its parentNode, near the critical area of code where the exception
occurs.


Bugfix

listenforcer-plugin: Fixed a bug that would only mark the first editable matching a configured selector as an enforced editable. Also when leaving an editable, we now remove the added list properly.


Aloha.Editor 0.22.0


Manual Change

Added a demo of placeholders to boilerplate.

Added a demo of placeholders to boilerplate.


Manual Change

Updated UI CSS regarding button selector.

Updated UI CSS regarding button selector.


Feature


Bugfix

In the sidebar the panel entry for the format plugin was always shown; now when the formatOptions is empty the empty (useless) sidebar panel will be hidden.


Bugfix

Align Plugin button status was not shown correctly.