Aloha.Editor Changelog Summary

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


Bugfix SUP-1607

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


Aloha.Editor 1.3.18


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.


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


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


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.


Aloha.Editor 1.3.14


Bugfix SUP-1232

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


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

wordcontenthandler: Fixed list items somtimes having paragraphs after pasting.


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.


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


Bugfix SUP-1393

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


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


Aloha.Editor 1.3.11


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

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


Bugfix SUP-1377

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


Bugfix SUP-1365

Initializing an editable containing many blocks could cause long running script
in the browser, which 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-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.