Aloha.Editor Changelog Summary

Aloha.Editor 1.4.23


Bugfix SUP-3576

When an editable is deactivated, because another editable is activated, the event aloha-editable-deactivated
will contain the new editable as event parameter newEditable.


Aloha.Editor 1.4.22


Feature SUP-3537

added configurable wrapping div element for tables

Create responsive tables by wrapping table-elements created by Aloha-Editor in a div-element with a configurable class to make them scroll horizontally on small devices.
This follows the example giving by Twitter Bootstrap

Configuration Example

// enable the wrapping div-element and set the class to 'responsive-table'
Aloha.settings.plugins.table.wrapClass = 'responsive-table';

Output Example

<div class="responsive-table">
<table>
...
</table>
</div>

Bugfix SUP-3358

When an editable contained a block with an iframe,
some editing actions (like transforming a paragraph to a header)
could fail with a security error (logged in the console).
This has been fixed now.


Bugfix SUP-3500

When changing a heading with the format plugin the check, whether the heading hierarchy is violated, did not work for some configurations.
This has been fixed.


Aloha.Editor 1.4.21


Bugfix SUP-3459

When using Internet Explorer, links in table cells or in editables nested inside blocks where not clickable.
This has been fixed now.


Aloha.Editor 1.4.20


Bugfix SUP-3448

When the link or wai-lang plugin was loaded, switching between editables by clicking
into them did not always work. In those cases, the focus continuously changed between two
editables while typing.
This issue has been fixed.


Aloha.Editor 1.4.19


Bugfix SUP-3387

Sometimes, when editables with configured content rules contained blocks, the content rules
were also applied to the block contents.
This has been fixed now.


Bugfix SUP-3284

The automatic tab selection of the toolbar upon scope change failed to check whether
the tab to be selected contained any visible children. This could cause the toolbar to
appear empty (with none of the visible tabs selected).
This has been fixed now.


Aloha.Editor 1.4.18


Bugfix SUP-3199

Setting a language annotation would remove the focus from the editable and therefore deactivate it. This has been fixed.


Bugfix SUP-3171

Sometimes setting a CSS class for a list with the list plugin, a previously selected class would not be removed first. This has been fixed.


Bugfix SUP-3291

Added a section explaining Arenas to the UI documentation.


Bugfix SUP-3171

list-plugin: When transforming a list to different list type, the available classes of the old list type where not removed. This has been fixed.


Aloha.Editor 1.4.17


Bugfix SUP-3314

Fixed clicking into and editing text in an editable not working anymore in Chrome 53 when the repository-browser plugin is loaded, because it set the CSS attribute “-webkit-user-select: all” on the body.


Aloha.Editor 1.4.16


Bugfix SUP-3250

Moving over empty paragraphs with the arrow keys would make the paragraph vanish. This happened only with firefox. This has been fixed.


Aloha.Editor 1.4.15


Bugfix SUP-2992

When the checkHeadingHierarchy feature of the format plugin was activated the plugin would try to access a null object when an editable contained blocks. This has been fixed.


Bugfix SUP-3192

The KeyEvent.keyIdentifier field is said to be removed in Chrome. This fix removes it‘s occurrence in AlohaEditor.


Bugfix SUP-3154

The formatless paste contenthandler (used by the formatless paste plugin) and the generic contenthandler
did not clean any content, when an aloha block was found in the pasted contents.
This has been changed, so that the content handlers will clean everything else, but will still leave the
aloha blocks (identified by the class aloha-block) untouched.


Aloha.Editor 1.4.14


Bugfix SUP-2911

When all plugins were disabled for a certain editable, the empty floating toolbar was shown nevertheless. This has been fixed.


Aloha.Editor 1.4.13


Bugfix SUP-2813

After adding a paragraph in Chrome the cursor would jump back before the paragraph as soon as you type a character.
This has been fixed.


Bugfix SUP-2837

Removed a special character from one of the block plugin files, that prevented Aloha Editor from loading in the unminified version.


Aloha.Editor 1.4.12


Bugfix SUP-2291

Aloha.unbind: Using this method with specifying the event name only unbinds all registered functions for this event. Most of the times, this is not the desired goal. Therefore a second parameter has been added that allows you to also specify the bound callback function. In this case only the specified callback function will be removed for this event.


Aloha.Editor 1.4.11


Enhancement SUP-2657

Table Plugin: Added the configuration option “defaultClass”. If set, the default class will be set as the className property of the newly created table. See the documentation of the plugin for configuration settings.


Enhancement SUP-2607

When the table layout options of the table-plugin are used alongside the sanitize content-handler (with it‘s default configuration) the classes on table, tr and td elements are removed by the content-handler. This behaviour is now documented in the guides page of the table-plugin.


Aloha.Editor 1.4.10


Bugfix SUP-2388

When using the highlighteditables plugin on a document with nested editables, the fade-out animation of the editable outlines could cause an editable to appear modified directly after it has been saved. This has been fixed.


Aloha.Editor 1.4.9


Bugfix SUP-2623

When the href field for a link contained only the default value "http://", it had to be cleared manually when adding an anchor to avoid invalid URLs. This behavior has been changed so that the href field is automatically cleared, when it contains only "http://" or "https://" and the anchor field is changed.


Aloha.Editor 1.4.8


Bugfix SUP-2467

The configuration of dropzones in the block plugin was not taken into account when dragging blocks. This has been fixed.


Aloha.Editor 1.4.7


Bugfix SUP-2513

When pressing ENTER in the href field of the link-plugin, the focus was not properly updated in some browsers. This has been fixed.


Aloha.Editor 1.4.6


Bugfix SUP-2184

When Drag & Drop was disabled, blocks with duplicate IDs inside nested editables
would sometimes get the class ui-state-disabled preventing any interaction
with them.

Note that blocks with duplicate IDs are not supported in Aloha-Editor since this
implies invalid HTML markup. This fix is just intended to prevent certain subsequent
errors when duplicate blocks are already present.


Bugfix SUP-2266

Fixed whitespaces at the start or end of an inline editable not being properly handled when deleting text.


Bugfix SUP-2466

The link-plugin did not treat found link markup as a jQuery object resulting
in errors like “X.attr() is not a function” and undefined references. This
has been fixed.


Aloha.Editor 1.4.5


Bugfix SUP-2365

When clicking outside of an editable, and clicking inside on the same element again, the ‘aloha.selection.context-change‘ was not triggered, which for example also prevented the link UI from being activated. This has been fixed.


Bugfix SUP-2201

The sidebar panels of the link-plugin and the ones of the
editing API
have been adapted so that they have a common appearance.


Aloha.Editor 1.4.4


Bugfix SUP-2359

When clicking on a link the aloha.link.selected event was not published due to
a type error. This bug was introduced in Aloha Editor 1.4.2 and has been fixed now.


Aloha.Editor 1.4.3


Bugfix SUP-194

A styling that is intended for the style buttons of the list plugin was
also applied to certain other list constucts. The respective CSS selector
has been fixed.


Bugfix SUP-1705

Using the remove format action on list items could sometimes create
unexpected markup. This has been fixed.


Bugfix SUP-2246

Several plugins used the port-helper-attribute-field with HTML DOM elements instead of
jQuery objects resulting in errors like “X.attr() is not a function”. This has been
fixed.


Bugfix SUP-2263

Fixed a typo in the german translation of the align plugin.


Aloha.Editor 1.4.2


Bugfix SUP-2214

Native drag and drop handling by the browser causes unwanted style elements to be added around text. Drag and drop of text is now disabled.


Bugfix SUP-2209

When clicking in a table, the respective menu would not open in the ribbon. This problem
was introduced in the last hotfix, and has been fixed now.


Aloha.Editor 1.4.1


Bugfix SUP-2110

When using the targetregex, cssclassregex and titleregex settings of the link plugin,
the corresponding attribute was not removed, when the current href did not match the
pattern. This has been fixed, and the behavior of this settings has been changed so
that the automatically set values will only be set, when the href of the currently
selected link changes, but not if another link is selected, which means that manual
changes to these attributes will be preserved, so long as the link href does not change.


Bugfix SUP-1041

The handling of <br> tags in empty paragraphs was consistent
across browsers. This has been fixed.


Aloha.Editor 1.4.0


Enhancement

The link plugin has been extended to handle anchors in URLs. The feature is
disabled by default and has to be activated via the anchorLinks setting
for the link plugin.


Enhancement

Added the possibility to resize table columns and set the width values in percent instead of pixel. This allows for more dynamic layouts.
Adding width values to the table element when resizing the whole table. This is needed to shrink a table.