Aloha.Editor Changelog Summary

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


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.


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

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


Bugfix SUP-1403

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


Aloha.Editor 1.3.7


Bugfix SUP-1389

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


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


Aloha.Editor 1.3.6


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.


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


Aloha.Editor 1.3.5


Bugfix SUP-1307

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


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.


Aloha.Editor 1.3.4


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.


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


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

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


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


Aloha.Editor 1.3.0


Enhancement

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