Aloha.Editor Changelog Summary

Aloha.Editor 1.1.38


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


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


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.


Aloha.Editor 1.1.35


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


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


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


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


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


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


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


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


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


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


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


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


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.


Aloha.Editor 1.1.22


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.


Aloha.Editor 1.1.21


Bugfix SUP-1006

When using an inline element (such as an anchor) as editable,
selecting and deleting the whole contents would also remove the editable from the DOM.
This has been fixed, so that the editable itself will never be removed.


Bugfix SUP-979

The file dom-to-xhtml.js has been moved from the plugin dom-to-xhtml to
‘util/dom-to-xhtml‘ to make it available to other plugins.


Aloha.Editor 1.1.20


Bugfix SUP-142

When transforming empty block-level elements (e.g. change a paragraph to a pre-element),
the block-level element did not always contain an ending break to make it visible.
This has been fixed.
Also the handling of placeholder paragraphs (landing zones before or after the first/last element
in an editable) has been fixed. If placeholder paragraphs are filled, the classes marking them
as placeholders are removed.


Bugfix SUP-989

Fixed scrolling if editable itself has a vertical scrollbar and
content is added in a way that the selection would be outside of the
visible area.


Aloha.Editor 1.1.19


Bugfix SUP-874

When using the format plugin to change block-elements (e.g. change a paragraph to a header)
in Internet Explorer while the scrollbar is visible, the page was sometimes unintentionally
scrolled. This has been fixed now.


Bugfix SUP-943

The detection of lists pasted from word has been improved:
Sometimes some regular (styled) content at the start of a list item
was mistaken as “bullet” and was removed.


Bugfix SUP-580

When opening a page to edit and first clicking on a link in an editable,
the “Link“ tab in the toolbar will not be activated.
This has been fixed now, clicking on a link in an editable will always
activate the “Link” tab in the toolbar.


Aloha.Editor 1.1.18


Bugfix SUP-869

Table-plugin: Insertion of a new table will trigger a smart-content-changed event.


Bugfix SUP-869

Block-plugin: When dropping an inline block into another editable,
the target editable will be activated.


Bugfix SUP-878

Block-plugin: When dragging inline-blocks over block-level elements (like paragraphs) containing
only a number of whitespace characters, the whole editable will now be accepted as dropzone.
When the inline-block is dropped into the block-level element (paragraph) containing only
whitespace characters, the block will be dropped before the whitespace characters.


Bugfix SUP-834

When multiple rows or columns where selected in a table, the “row“ or “column” tab was not
always shown in the floating menu. This has been fixed: the appropriate tabs are now
always shown when a whole row or column is selected. Either through column or row selection
or through selection of multiple cells.


Bugfix SUP-875

Some issues with pressing “delete” when the cursor was placed between two tables:
In some cases, the drag-handles of a table was removed, in other cases, both tables were removed.


Aloha.Editor 1.1.17


Bugfix SUP-841

Fix multiple issues with placement of the caret before and after inline aloha-blocks. It was not possible to place the caret:

  • next to an inline block (before or after) when the inline block was alone in a line (no paragraph)
  • after the block when it is the last element in a pragraph
  • between two inline aloha-blocks

Bugfix SUP-738

Drag & Drop behaviour of blocks has been improved:

  • It is now possible to drop blocks into empty editables
  • When dragging and dropping a block into another editable, the editable will get activated
  • During dragging, the toolbar will be hidden

Bugfix SUP-836

Table-plugin: When selecting text in a table cell using the mouse,
the whole cell will no longer be selected when moving the mouse cursor over areas of the cell,
that do not have contents (e.g. near the cell borders or between paragraphs).
In order to select a single cell, the user needs to hold the SHIFT-key while clicking into the cell.


Aloha.Editor 1.1.16


Bugfix SUP-845

The Word content handler now replaces unnecessary new line characters
added by Word with spaces. This fixes bug SUP-845, in which spaces got
lost, because new line characters are automatically stripped when using
the Text/HTML GCN tag part type.


Bugfix SUP-827

When a URL was pasted into the input field of the toolbar
using the context menu, the URL was not stored into the link, unless
a key was also pressed.
This has been fixed now.


Aloha.Editor 1.1.15


Enhancement SUP-744

Make the shrinktofit option for the jqGrid (the object list) in the repository browser configurable. This option can be used to make the repository browsers width bigger on smaller screens while keeping the benefits of the dynamic resizing of the column widths.


Bugfix SUP-158

If content in an editable changes in a way that moves the
current selection out of the viewport, the window will now
be scrolled to put the selection into the viewport again.
This may happen e.g. when pressing enter at the end of an
editable or pasting large contents.


Bugfix SUP-158

The behaviour of rendering empty block-level elements in
Internet Explorer 11 has changed to be more consistent with
the HTML specification and other browsers. Empty block-level
elements in Internet Explorer 11 will now contain end breaks.
This fixes the sudden disappearance of paragraphs when editing in IE 11.


Bugfix SUP-740

When having the cursor on a link (in an editable that allows links) and
then clicking into an editable, that does not allow links, the “Insert Link“
button was shown in the “Insert” tab of the toolbar. This has been fixed now.


Bugfix SUP-143

Pasting lists from Word has been improved to determine the correct list
type in more cases.


Bugfix SUP-749

It was not possible to drag and drop inline blocks (spans)
between words of editables. Instead inline blocks could be dropped
between block-level elements (like paragraphs).
This has been fixed now.


Bugfix SUP-763

Highlighting of the dropzones when dragging blocks has been improved.
When dragging a block-level element between other block-level elements,
the dropzone will now be highlighted between the elements, not at the
end or start of one of them.


Bugfix SUP-763

Moving the cursor between blocks using the LEFT or RIGHT key
did not work reliably when using Internet Explorer and has been fixed.


Aloha.Editor 1.1.14


Bugfix SUP-675

Improve text of tooltips for the buttons which increase/decrease indentation
in lists. Escpecially the German tooltips where unclear in regard to the
expected action of the buttons.


Bugfix SUP-503

Selecting cells in tables has been improved:
When dragging the mouse over table cells, it is no
longer necessary to drag over the editable element in the cell.
Also selecting a cell range by clicking with the mouse (while holding
the SHIFT-key) has been improved when using Internet Explorer.


Bugfix SUP-645

After forward-deleting the last letter of a link, the cursor disappeared from the editable.
This has been fixed.


Aloha.Editor 1.1.13


Bugfix SUP-619

When using internet explorer, it sometimes was possible to drag a block
into another block (instead of right after it). This has been fixed now.


Bugfix SUP-619

When using Internet Explorer, it was possible to navigate the cursor
into non-editable areas (blocks), because the contenteditable implementation
of IE is broken. This fix will move the cursor out of the non-editable area in
such cases. Additionally, it prevents inserting text into non-editable areas with
the keyboard, in cases where moving the cursor out did not work for some reasons.


Bugfix SUP-622

Errors in table-plugin:

  • When pressing delete in a paragraph right before a link with a table after the paragraph, the cursor will jump into the first table cell.
  • When pressing delete in a link in the last position before a table, the cursor will not jump into the first table cell but the table gets deleted.
    Both errors have been fixed.

Aloha.Editor 1.1.12


Bugfix SUP-58

Possible errors when deleting elements with old Internet Explorer versions have been fixed.


Bugfix SUP-574

Fixed floating of toolbar next to a surface with direction set to rtl:
Horizontal scrolling is now considered correctly and the toolbar is prevented
from floating out of the visible area.


Bugfix SUP-573

When using ENTER to submit a search in the repository browser, the ENTER
possible bubbled to the page and caused something to happen there as well.
Bubbling of the ENTER from the search field is now prevented.


Aloha.Editor 1.1.11


Bugfix SUP-493

Content Rules now skip .aloha-blocks inside an editable. So markup inside blocks is not changed by Content Rules.
See the Content Rules feature for further details.


Bugfix SUP-353

The per-editable configuration of stripped elements for the formatlesspaste plugin did not work.
This has been fixed now.


Bugfix SUP-521

list plugin: When editing a list, the corresponding list menu button was not selected.
This has been fixed.


Bugfix SUP-387

The methods Dom.getFirstVisibleChild and Dom.getLastVisibleChild have a new optional parameter
for elements where to stop searching.


Bugfix SUP-526

The event handler for “selection changed” in the format plugin sometimes
cause a javascript error in internet explorer, which stopped processing of further event handlers.
This happened for instance, when choosing a link target in the repository browser. As a consequence
of the javascript error, the repository browser was not closed.


Bugfix SUP-501

When using the block plugin and the table plugin, sometimes when selecting something
in a table cell and pressing either “delete“ or “backspace”, the whole table was deleted.
This has been fixed now.


Bugfix SUP-536

If a dialog window appears when editing a right-to-left-page, the dialog window was shown incorrectly.
This has been fixed.


Bugfix SUP-502

When a selection is started inside of an editable, which is nested in a block
and finished outside of the editable, but still inside the block, the toolbar
was not shown. This has been fixed now.


Bugfix SUP-517

The toolbar sometimes showed empty tabs, which has been fixed.


Aloha.Editor 1.1.10


Bugfix SUP-64

It was not possible to delete a single paragraph right before a non-editable block or after a non-editable block.
This has been fixed now. The “delete” action with the cursor placed in an empty block level element will now
delete that element, as if the whole element had been selected.


Aloha.Editor 1.1.9


Bugfix SUP-66

When editing pages having the style “direction“ set to “rtl“, the aloha editor controls like
the toolbar, sidebar and repository browser were also affected, so its layout and some functionality were broken.
This has been changed, so that all aloha editor controls will have “direction“ set to “ltr” regardless of the
page setting.


Bugfix AW-945

The Internet Explorer feature “autoURL detection” is now deactivated to ensure consistent cross browser behavior.


Aloha.Editor 1.1.8


Bugfix SUP-142

Improved editing preformatted text.


Bugfix SUP-223

When deleting text, inline text elements like links or bold elements (or any other inline elements) were not deleted in most cases. This has been fixed now.


Aloha.Editor 1.1.7


Bugfix SUP-197

When moving the cursor between two blocks a <div> was inserted to make the space visible for editing. This <div> was not cleaned up after editing. Now the <div> will be safely removed, keeping its content.


Aloha.Editor 1.1.6


Bugfix RT58737

Defining a whitelist for content elements in the aloha settings was not working. This has been fixed.
See the Content Rules feature for further details.


Bugfix RT58603

Wai-lang plugin: when adding a language annotation, the change is not saved correctly in IE9. This has been fixed.


Bugfix SUP-75

Word contenthandler: When doing copy and paste from word some input was wrongly matched as list input. This has been fixed.


Aloha.Editor 1.1.5


Bugfix RT58605

It was not possible to delete a br, hr or img tag at the end of an inline element (like an a) by pressing the “delete” button. This has been fixed now.


Bugfix RT58603

When pasting content containing an acronym-tag, those tags were not handled correctly.
This has been fixed now. It is however important to note, that the acronym-tag is not part of the html5 specification anymore and should be avoided in favor of the abbr-tag.


Aloha.Editor 1.1.4


Bugfix RT58552

Setting the list style with a selection that contains also nested lists only changed the style for the outermost list. This has been fixed now.
The list style will be set for all lists that are contained in the selection.


Bugfix RT58552

Nesting definition lists into normal (numbered or bulleted) lists and then removing or transforming the nested definition list
could possibly break the DOM structure by leaving li, dt or dd elements without the proper parent.
This has been fixed now.


Bugfix RT58532

Contenthandler plugin: Fixed handling of empty block elements
When adding an empty paragraph with IE Version 8 or greater, the empty paragraph was not visible in the content after editing.
This is because empty paragraphs are not rendered in the browser. For editing, a
is added to empty paragraphs to make them editable.
Now, a
is added in the resulting content, so that it matches the expected WYSIWYG behaviour.


Bugfix RT58552

Buttons in the toolbar, that have a dropdown menu would display the arrow (for opening the dropdown) slightly misplaced in firefox.
A css setting of the ui-plugin has been changed to fix this.


Aloha.Editor 1.1.3


Bugfix RT58517

When using the repository browser in IE7 (or in a newer version in IE7 mode), resizing the window or the repository
browser could lead to an endless resize cycle. This has been fixed now.


Bugfix RT58526

In Internet Explorer 7 (or newer versions of Internet Explorer in IE7 mode), sometimes reading the offsetHeight of a DOM element
would return 0 for the first access. Only when reading the offsetHeight again, the correct value would be returned.
This bugfix adds a workaround method to get the offsetHeight of a DOM element, which reads twice if the first returned value happens to be 0.
This fixes various problems connected with reading the offsetHeight.


Aloha.Editor 1.1.2


Bugfix RT58503

In the repository browser, sorting the listed items was not possible.
This has been fixed now.


Aloha.Editor 1.1.1


Bugfix RT58472

List items would previously be stripped of whitespace between inline elements after pressing enter. This has been fixed now.


Bugfix RT58482

autoparagraph-plugin: The autoparagraph plugin did not work as expected. Paragraphs were only created for new editables (upon “aloha.editable.created“) but not when the content in an editable changed (“aloha-smart-content-changed”).
This has been fixed now. The paragraphs will now also be created (if necessary) when content changes.


Aloha.Editor 1.1.0


Bugfix

cite-plugin: It is now possible to show the cite form inputs (link, note) in a tab of toolbar. When enabled, a button to remove a cite will be shown inside the floating menu toolbar.