Aloha.Editor Changelog Summary

Aloha.Editor 1.3.36


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.3.35


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.


Bugfix SUP-3199

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


Bugfix SUP-3291

Added a section explaining Arenas to the UI documentation.


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.


Aloha.Editor 1.3.34


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.3.33


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.3.32


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-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.


Bugfix SUP-3192

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


Aloha.Editor 1.3.31


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.3.30


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.3.29


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.3.28


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.


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.


Aloha.Editor 1.3.27


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.3.26


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.3.25


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.3.24


Bugfix SUP-2266

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


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.


Aloha.Editor 1.3.23


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.


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.


Aloha.Editor 1.3.22


Bugfix SUP-1705

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


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-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.3.21


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.


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.


Aloha.Editor 1.3.20


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.3.19


Bugfix SUP-1417

When a plugin using the repository browser was used, navigating with CTRL-LEFT (jumping wordwise to the left)
did not work. This was because the repository browser would use CTRL-LEFT to close/open the tree pane.
Handling of hotkeys for the tree pane has been disabled now, so that CTRL-LEFT will now work in editables.


Bugfix SUP-1607

Drag and drop of aloha-block elements did not work in nested editables and
table cells. This has been fixed.


Bugfix SUP-2101

Using the content rules whitelist functionality would hide the removeFormat
button from the format-plugin. This has been fixed, and removeFormat ignores
the content rules (which also means that it cannot be blacklisted).


Aloha.Editor 1.3.18


Bugfix SUP-1193

The linkbrowser plugin would filter out attributes from repository elements,
even if the link plugin was configured to display them in the sidebar. This
has been fixed.


Bugfix SUP-2002

If a table was deleted with IE the focus jumped up to the beginning of the
editable. This has been fixed.


Bugfix SUP-1973

The editing helpers in table cells are now added and removed individually in
mouseenter and mouseleave events instead of doing this for all cells
at once. This speeds up the initialization of big tables.


Aloha.Editor 1.3.17


Bugfix SUP-997

Opening a page containing many DOM elements with Aloha Editor with Internet Explorer (starting with IE8)
was slow due to a feature check during the initialization phase, that used an Internet Explorer function,
which seems to be badly implemented.
The feature check has been modify to circumvent the performance problem.


Bugfix SUP-1849

The block plugin did not remove some internal classes marking active blocks
or blocks prepared for drag & drop when making the contents of an editable clean
for saving.
This caused the method Aloha.isModified() to always return true, even if no content
was changed before.
This has been fixed now.


Bugfix SUP-1958

The target and title attributes of links were sometimes not correctly
updated in the sidebar. Also when the targetregex or titleregex
were configured, the link plugin would sometimes match against the
wrong URL. These issues have been fixed.


Aloha.Editor 1.3.16


Bugfix SUP-1830

Pressing delete before an aloha-block inside a table would delete the block.
This is wrong because the block should be safe from accidental deletion and the
same thing does not happen outside of a table.
This has been fixed so that pressing delete inside a table works the same as
outside of a table.


Aloha.Editor 1.3.15


Bugfix SUP-1775

The tooltip of menu buttons did not disappear when the corresponding
drop down menu was opened and part of the menu was concealed. Also
sometimes when open drop down menu would not close, when another
menu button was clicked. These issues have been fixed.


Bugfix SUP-1705

The remove formatting action of the format plugin would remove
elements which were aloha-blocks. Also removing the formatting from a list
could sometimes remove list items or insert superfluous paragraphs. These
issues have been fixed.


Aloha.Editor 1.3.14


Bugfix SUP-1526

Internet Explorer 11 showed undesired resize handles around block elements.
Since block elements should not be resized through the browser‘s in-built
interface, this has been disabled.


Bugfix SUP-1634

Some content that was pasted in Internet Explorer 11 coming from newer versions
of Microsoft Word resulted in newlines instead of white space being inserted
into the editables. These newlines get removed during saving as is required for
perticular part types resulting in unintended join of words at times.
This issue has now been fixed.


Bugfix SUP-1232

Tooltips were added to the list menu buttons in the ribbon.


Bugfix SUP-1734

wordcontenthandler: Fixed list items somtimes having paragraphs after pasting.


Aloha.Editor 1.3.13


Bugfix SUP-1483

When backspace or forward delete was pressed with a selection of exactly one
breadth (eg: a single character selected) inside an editable in block, the whole
containing block would be deleted. This behavior has now been fixed.


Bugfix SUP-1507

Attempting to resize the leftmost margin of a table had caused the resize handle
to be left as an artifact in the document. This problem has now been fixed.


Aloha.Editor 1.3.12


Bugfix SUP-1390

DIV elements with a display style of inline-block where not padded correctly,
so sometimes the selection could not be placed next to them. This has been fixed.


Bugfix SUP-1113

When changing between two links in the same editable,
the link tab does not get activated. This has been fixed now.


Bugfix SUP-1424

Also empty paragraphs in table cells will now be accepted as
drop targets for inline blocks.


Bugfix SUP-1352

When a block in an editable is activated, the container editable is also activated,
unless the block itself contains an editable, that was clicked. In the latter case, the
nested editable will be activated.


Bugfix SUP-1393

Sometimes, clicking in the editable wrapper of a table cell
selected the whole cell. This has been fixed now.


Bugfix SUP-1386

When deleting an empty block level element (like a paragraph) with the “delete” key,
the selection was probably left in an invalid state, which could cause subsequent editing errors.
This has been fixed now.


Aloha.Editor 1.3.11


Bugfix SUP-1377

When pasting lists from MS Word nested lists were not pasted correctly.
This has been fixed.


Bugfix SUP-1506

The action “Remove formatting” also removed the paragraph around a selection. This has been fixed.
Now this action only removes html elements that affect the formatting and are expected to be removed.


Bugfix SUP-1365

Initializing an editable containing many blocks could cause long running script
in the browser, which has been fixed now.


Bugfix SUP-1309

It was not possible to insert lists into empty table cells.
This has been fixed now.


Aloha.Editor 1.3.10


Bugfix SUP-1274

When clicking on a text input or textarea element nested inside an editable,
the selection was immediately removed from the input element, so no text could
be entered in the input element. This has been fixed.


Bugfix SUP-801

When pasting content using Firefox, the selection was left in
an invalid state, which caused the characters to appear in reverse order when typing.
This has been fixed now.


Aloha.Editor 1.3.9


Bugfix SUP-1416

Adding a new blockquote with the cite plugin did not work. This has been fixed.


Bugfix SUP-1449

Fixed an error in the block plugin that was caused by a bad function call.


Bugfix SUP-1420

The emptylink-plugin will now also highlight links where the value of the href attribute is “http://“.
The reason behind this is that the href value for newly inserted links with the link plugin is “http://” per default.


Aloha.Editor 1.3.8


Bugfix SUP-1395

When doing drag&drop of blocks in tables, the table cells were also
selected when hovering over them. Also empty table cells were not marked
as possible drop target (although dropping worked).
Both issues have been fixed.


Bugfix SUP-1403

Drag & drop of blocks in tables could interfere with resizing of table cells.
This will be prevented now.


Bugfix SUP-1406

Drag & drop of blocks sometimes caused a JavaScript error,
which will be prevented now.


Aloha.Editor 1.3.7


Bugfix SUP-1193

After interacting with a dialog, the Aloha editor lost the the
link scope although the current selection was inside a link.
This has been fixed.


Bugfix SUP-1165

When clicking on a nested editable, the selection-changed events where
not triggered when the actual target of the click was not the editable
itself (e.g. when clicking on formated text). This has been fixed.


Bugfix SUP-1389

Drag & drop of inline blocks in table cells was not possible and
has been fixed now.


Aloha.Editor 1.3.6


Bugfix SUP-1286

When pasting content from Word into Aloha, which contains paragraphs that
are formatted as ListParagraph in Word, but have no bullet, number, letter,
etc. at the beginning, the first of these paragraphs was removed during
the pasting process. This has been fixed now.


Bugfix SUP-1215

When using both the table-plugin and the block-plugin, selecting
text in a table cell using the mouse did not work, when the mouse button
was released while hovering of the cell, but not the editable in the cell.
In such cases, the selection was removed, which has been fixed now.


Bugfix SUP-1363

When creating a new table, the cursor was not updated properly
into the first table cell, so inserting block elements did not
work. This has been fixed.


Aloha.Editor 1.3.5


Bugfix SUP-1235

Some commands (like insertparagraph) could separate a block element
and its padding element, which prevented positioning the cursor after
the block element. This has been fixed.


Bugfix SUP-1307

Some blocklevel elements were not correctly handled when they
were place inside of table cells. This has been fixed.


Aloha.Editor 1.3.4


Bugfix SUP-10264

When a element without a data-cite-id was inserted manually (without Aloha)
into an editable, clicking on it and then formatting another element as a quote
with Aloha would result in an infine loop. This has been fixed now.


Bugfix SUP-1198

Clicking into a table of an inactive editable did not work as expected
when using Internet Explorer and has been fixed now.


Bugfix SUP-1172

When the emptylink plugin was used together with a plugin that would set a
link‘s href attribute to ‘#‘ after selecting an item from the repository
browser, the emptylink plugin would incorrectly classify that link as empty.
This has been fixed now.


Bugfix SUP-1241

The behaviour of DELETE and BACKSPACE has been fixed:
If nothing is deleted, because the next/previous element is a block,
the current selection is not changed. This fixes problems in Internet Explorer
where after pressing DELETE when the cursor right before a block, the selection
would be moved into the block, which prevented further editing.


Bugfix SUP-1229

Fix some unmotivated scrolling when deleting contents and the page
has scrollbars.


Aloha.Editor 1.3.3


Bugfix SUP-1126

When deleting text after a non-editable element the cursor could
disappear in some browsers, which prevented further editing. This
has been fixed.


Bugfix SUP-1147

The behavior when pressing DELETE before a table or BACKSPACE after a table
was inconsistent and unexpected. Sometimes the whole table was deleted, sometimes
the selection moved into the first/last table cell.
This has been changed now to be consistent and conservative: When pressing DELETE before
or BACKSPACE after a table, the selection will stay where it was and nothing will be deleted.


Aloha.Editor 1.3.2


Bugfix SUP-882

The position of the floating toolbar was not correct,
if the page was vertically scrolled and there was insufficient
space above the activated editable. The toolbar was not positioned
right under the editable, but with some distance.
This has been fixed now.


Bugfix SUP-1060

When calling .pad() for a block twice, it could happen, that
two adjacent landing spans were added. This will be avoided now.


Aloha.Editor 1.3.1


Bugfix SUP-982

Some issues with drag & drop of inline blocks have been fixed:

  • When dragging & dropping inline blocks, sometimes a JS error
    (Uncaught Error: cannot call methods on droppable prior to initialization; attempted to call method ‘destroy‘)
    occurred, which has been fixed now.
  • When dragging an inline block out of a block-level element (such as a paragraph),
    where the paragraph will be empty afterwards, an ending break will be added to the
    paragraph so that it will not become invisible.
  • The padding added around inline blocks (as landing areas for the cursor) was not cleared correctly when
    dragging and dropping inline blocks. This caused additional non-breakable spaces appearing around inline blocks.
  • When dragging an inline block at the end of a list entry, it was not possible to place the cursor after the inline block.

Bugfix SUP-1028

Format-Plugin: The configuration of the checkHeadingHierarchy option would only be activated
when a boolean “true“ value was set in the settings. This has been fixed: the checkHeadingHierarchy
option can now also be activated by using other truthy values (e.g.: string “true“ or “1”);


Bugfix SUP-1045

Emptylink-Plugin: The emptylink-plugin would highlight all empty links on the whole page.
This has been fixed now only empty links inside of editables will be hightlighted.


Bugfix SUP-1040

When checkHeadingHierarchy was activated in the format-plugin, and the
hierarchy was violated, the corresponding CSS class was sometimes
propagated to the following paragraph. This has been fixed, and the
class is now only applied to headings.


Bugfix SUP-1042

When clicking on a block (in order to select it), sometimes the
selection was moved into the editable, making it impossible to select
the block. This has been fixed now.


Bugfix SUP-1042

Several issues of the videoblock plugin have been fixed:

  • During editing, the iframe to embed the video is replaced by an image showing the preview image
  • Internet Explorer will no longer show it‘s own resize handles, when a video block is selected
  • When getting the contents of an editable (in order to save it), all additional markup added to make video blocks editable will cleanly be removed
  • It is now possible to paste more than just a single video URL. All URLs will be transformed to blocks, everything else will be pasted.

Bugfix SUP-1043

Insertion of br Tags was still possible (by pressing Shift-Enter),
if br was forbidden by content rules. This has been fixed now.
When br tags are forbidden, but p Tags are allowed,
pressing Enter or Shift-Enter will insert a paragraph (if possible without violating the HTML specification).
If both p and br are forbidden (or not possible), Enter or Shift-Enter will just be ignored.


Bugfix SUP-1079

A bug with the selection sometimes caused an object not to be inserted into
the DOM. The insertion problem has been fixed now.


Bugfix SUP-1027

A bug with the triggering of the item-change event caused custom sidebar info
fields, which have been specified in the settings for the link plugin, to not
be set when a link is selected and the sidebar opened afterwards. This has
been fixed now by triggering the item-change event also when a null item is
selected (that is the selection is changed from an element that has an
associated repository browser item to an element that does not have an
associated repository browser item).


Bugfix SUP-888

Some issues with cursor placement and using DELETE or BACKSPACE around blocks
in editables have been fixed.


Bugfix SUP-851

When removing all contents of a table cell, an empty paragraph
may be left behind, which is impossible to remove. In such cases,
the empty paragraph will be removed now when the focus leaves the table
cell.


Bugfix SUP-1044

When the metaview and emptyparagraph plugins were used at the same time, the
metaview plugin would override the background-color CSS rule of the
emptyparagraph plugin. This has been fixed now.


Aloha.Editor 1.3.0


Enhancement

Table-plugin: The tab “Table” in the toolbar now contains a button to delete the currently selected table.