Aloha.Editor Changelog Summary

Aloha.Editor 0.25.28


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 0.25.27


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.


Aloha.Editor 0.25.26


Bugfix SUP-353

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


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 0.25.25


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 0.25.24


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 0.25.23


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 0.25.22


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 0.25.21


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 0.25.20


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 0.25.19


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 0.25.18


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 0.25.17


Bugfix RT58503

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


Aloha.Editor 0.25.16


Bugfix RT58472

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


Aloha.Editor 0.25.15


Bugfix RT50706

(Only for Firefox browsers) When selecting a paragraph with the command ‘shift+keydown‘, the selection
ends in the start of the next paragraph instead of at the end of the selected paragraph. This produces
an unexpected behaviour when formatting the selected text to a heading or a list, because the result
included one extra paragraph. This issue has bee fixed.


Aloha.Editor 0.25.14


Bugfix RT58360

The numerated header plugin would automatically remove text inserted at the beginning of a heading, when it was accidentally inserted into the numeration annotation. The annotation is now read-only.


Aloha.Editor 0.25.13


Bugfix RT58287

Button sets in a ribbon toolbar where falsely displayed. The list plugin forced a maximum width of 60px for all button sets. This has been repaired.
Now only the button set in the aloha toolbar have a width of 60px.


Aloha.Editor 0.25.12


Bugfix RT58205

When a table was created, empty spaces were inserted in the empty cells so the caret could be placed in.
With these changes we don‘t need these empty space anymore.


Aloha.Editor 0.25.11


Bugfix RT58201

When coping and pasting tables which its cells contained paragraphs with BR elements inside, it produced an error in the
pasted cells and were shown as empty. This issue has been solved.


Bugfix RT53834

When selecting and coping a text contained inside a block inside an editable element, the selection
was changed to select the whole block. With this fix when an user selects a text inside the block the range
is kept and the whole block select event is stopped.


Aloha.Editor 0.25.10


Bugfix RT58117

Change attribute ‘element.children‘ to ‘element.childNodes‘. ‘element.children‘ is not available in IE.


Bugfix RT56793

The Repository-Browser did not close when selecting a page for inserting a link in IE9.
This has been fixed.


Aloha.Editor 0.25.9


Bugfix RT57935

Editable configuration was not applied if a editable was an input or a textarea.

Block plugin had a dependency to Table plugin and this made a javascript exception thrown if the Table plugin was not included. This dependency has been removed.


Bugfix RT58117

Pasting content with links will now cause ‘aloha.link.pasted‘ messages to be published for each.


Aloha.Editor 0.25.8


Aloha.Editor 0.25.7


Bugfix

Image-plugin: hide the button in the UI when plugin is deactivated for an editable
The problem was that an empty config for an editable did not deactivate the image-plugin as described in the guides.


Bugfix RT56795

characterpicker-plugin: On screens with lower resolutions the list for picking special characters was cut off at the window borders. This has been fixed.


Aloha.Editor 0.25.6


Bugfix RT58062

format-plugin: Formatting content text as source code is now possible with the format plugin. The selected text will be wrapped in a ‘code‘ element tag.


Aloha.Editor 0.25.5


Bugfix RT57987

Performing unformatting on a selection adjacent to a terminal whitespace sometimes caused a
to be erroneously inserted.
This behaviour has been fixed.


Aloha.Editor 0.25.4


Bugfix RT53267

Right clicking on selected content should not remove the selection in IE

The problem was that ‘beforepaste‘ event was thrown when right clicking. The ‘beforepaste‘ event was
used to copy/paste content for IE. With this fix the ‘beforepaste‘ event is not necessary any more, the
whole copy/paste process is done in the ‘paste‘ event. This solution is only for IE8 and below. For
other IE versions (9 and above) the event ‘beforepaste‘ is still needed.


Bugfix RT57958

align-plugin: Alignment inside table cells is now permitted.

Setting alignment inside a table cell was not permitted unless the cell content was wrapped inside a
block element. With this fix this action is now permitted.


Aloha.Editor 0.25.3


Bugfix RT57862

The sanitize contenthandler configuration is now loaded, even if it is set as a map.

If a configuration in Aloha.settings.contenthandler.sanitize was defined, this was never loaded unless
it was a text (‘restricted‘, ‘basic‘, ‘relaxed‘). If a map of objects was defined, this setting was
never loaded (see http://aloha-editor.org/guides/plugin_contenthandler.html).
With this fix, the sanitize object is loaded.


Bugfix RT57942

The extra/formatlesspaste plugin now can remove tags that don‘t contain text (e.g. img)


Bugfix RT57925

Dragging and dropping a table inside another table is not permitted.

Nested table are forbidden, but dragging and dropping tables inside tables
were permitted. With this fix this behavior is not allowed anymore.


Aloha.Editor 0.25.2


Bugfix RT57823

It is now possible to insert tables into editables that are contained in (not editable) tables themselves.
Nesting editable tables into editable tables still does not work. The table plugin will show the insert button,
but will prevent nesting with a message to the user.


Bugfix RT57629

IE default drag and drop behavior is stopped when dragging and dropping block elements.

In some cases the default IE drag and drop behavior was not stopped for block elements,
which end up with pasted elements that could not be removed. The root of
the problem was a Javascript Error (rangy-core) when dragging the element. This error
was thrown due to a bug in the IE selection. With this fix the IE default drag and drop
behavior is stopped and the Javascript Error is catch so the execution of the program
can continue.


Aloha.Editor 0.25.1


Bugfix RT13396

Blocks that are inserted inside of table cells will appear with a delete
button in the same way as when inserted elsewhere in an editable.


Aloha.Editor 0.25.0


Manual Change

The extra/flag-icons plugin is not shipped anymore. It needs to be removed from the data-aloha-plugins attribute.


Feature

It is now possible to use a configured table of characters to replaces characters in headerids names.
This provides a means for translating special characters in headerid strings into those that are safe for files systems, for example.


Feature KB1211

link-plugin: Link attribute ‘hreflang‘ can be edited for external links. For internal links, the hreflang
is set to the default language of the page.


Enhancement

core: A shim has been added to the Aloha object to replace the deprecated jQuery.browser.
Aloha.browser now performs the same function as $.browser. This allows Aloha to be run in applications using
jQuery 1.9.* and 2.*.*. Code references to $.browser have been changed to Aloha.browser.


Enhancement

format-plugin: Possibility to remove list items from ordered lists, unordered lists and definition lists added.


Enhancement

list-plugin: Various enhancements have been added to the plugin.

  • It is now possible to add definition lists.
  • It is now possible to set pre-defined or user defined styles on lists.
  • Preview templates are now render in the Aloha toolbar list style submenus.
  • The corresponding list button will be highlighted when the cursor is on a list.
  • The class “alohafocus” will be set on focused definition lists.

Enhancement

The Aloha Editor licenses packages were merged. From now on only one download package variation will be distributed.


Bugfix

The non functional extra speak plugin was removed.