Aloha.Editor Changelog Summary

Aloha.Editor 0.23.26

Bugfix RT57176

Aloha.Editor 0.23.25

Bugfix RT56692

Formatless Copy/Paste not working. When paste action was made the formatlesshandler was never called. We manually call this handler before pasting the content into the DOM element.

Bugfix RT55437

Change table cell size by drag & drop The line which is shown when you drag & drop the size of cell, is not showed for the last row or last column.

Bugfix RT57078

Tooltip covers color palette. The colors tooltip does not disappear when the color palette is shown.

Aloha.Editor 0.23.24

Bugfix RT56619

core: Some performance improvements were made, so the Aloha-editor smartContenthandler is faster in large contents. Improvements of loop-for, jQuery selector and Dom iteration.

Bugfix

Outline on icons is too big resulting in too little visual difference between enabled or disabled state. The outline when the icon is focused is too big and the user can‘t distinguish when a button icon is enabled or disabled. By adding box-shadow (same behavior for different browsers) the problem was solved.

Bugfix RT56649

Table caption is removed every time is deactivated. Table caption is now hidden or shown but not removed, so the original text remains.

Bugfix RT55759

tables: Remove “width” attribute from copied tables.

Bugfix RT55298

Creation of several links or abbreviation is not fill with the same value. When create several links in different paragraphs or item list the value is not set the same for all the links but only for the first in the range selection. Changes were made so several links or abbreviation in the same selection have the same value.

Bugfix

Inputs containing image height/width don‘t display when image is loaded (ie9) When selecting an image the width and height inputs were not displayed. The problem was that when assigning the value to the input, the jQuery.val function was not working, because the element wasn‘t associated to the DOM yet.

Bugfix

rangy: Change rangy-core configuration property “preferTextRange” to false in order to allow for more performant ways to work with ranges in IE. Accomodations were taken to ensure that IE 9 would not crash with this flag.

Bugfix

commands: Further cleanup will no longer be done after inserting paragraphs since this extra processing was not necessary and very expensive on large content.

Bugfix RT56649

WAI input text is mistaken by the Caption Table. Putting the image of WAI inside the input text we make clear that this input text is for WAI text and not for Table Caption.

Aloha.Editor 0.23.21

Bugfix

tables: It is now possible to resize table headers (TH cells).

Bugfix

blockmanager: Fixed scripts in a block being executed, when getting its configuration.

Bugfix

Bugfix

Bugfix

tables: Table functionality will no longer stop working when a table is moved from one editable into another.

Bugfix

tables: The cell merge and cell split buttons are now correctly disable when not applicable in IE7 and IE8.

Bugfix

editables: Initializing empty editables in Firefox will no longer result in them aquiring an extra . This was previously done to work around a Firefox bug that seems not no longer be an issue.

Bugfix

tables: Tables with col- and rowspans will now be correctly initialialized in IE9.

Aloha.Editor 0.23.20

Bugfix

editables: Initializing empty editables in Firefox will no longer result in them aquiring an extra . This was previously done to work around a Firefox bug that seems not no longer be an issue.

Bugfix

blockmanager: Fixed scripts in a block being executed, when getting its configuration.

Aloha.Editor 0.23.19

Bugfix

table plugin: Pressing the tab key when the selection is in the last cell of a table will correctly place the cursor in the first cell of the newly created row.

Aloha.Editor 0.23.18

Bugfix

utilities: Pressing backspace in a text node in a paragraph adjacent to a table will now correctly delete the character to the left of the cursor rather than jumping into the table.

Bugfix

table plugin: Merging table cells in IE8 will no longer result in the contents of merged cells from being lost.

Aloha.Editor 0.23.17

Bugfix

table plugin: Merging cell is now fixed to work correctly, after a previous fix introduced a bug through circular dependency.

Aloha.Editor 0.23.16

Bugfix

table plugin: The selection of table cells has been made more coherent. A browser selection will be set on the entire content of the anchor cell of the virtual cell selection.

Bugfix

cite-plugin: Several issues with the citation plugin have been fixed: Pressing backspace in a blockquote will no longer wrap the blockquote into div‘s (which would break the behaviour). The behaviour of pressing enter at the end of a blockquote multiple times has been changed to land in a new empty paragraph after the blockquote (similar to lists). When blockquote and quotes are nested, the controls of blockquote and quote will both show the correct status now.

Bugfix

repositorybrowser: Fix i18n of repository browser to use the language configured in Aloha.settings.locale

Bugfix

table-plugin: The table plugin will now not lose the drag handles any more, when getContents() is called for the editable (which is done on smart content change)

Aloha.Editor 0.23.15

Feature

autoparagraph-plugin: The Autoparagraph Plugin checks the contents of editables and wraps content that is not contained in block level elements into paragraphs.

Bugfix

core: Fixed selection bug in FF where it was possible to move the selection into a HR (by clicking on it)

Bugfix

table: The table plugin will now handle pressing down in the last cell as well as pressing up in the first cell by positioning the cursor directly before or after the table.

Bugfix

textcolor: The button for changing the textcolor can no longer be accidentally overwritten by custom background images.

Aloha.Editor 0.23.14

Bugfix

abbr: The abbreviation plugin will now use non-exclusive scopes to toggle the visibility of its controls. This makes it compatible with other plugins in terms of control visibility (e.g. when nesting abbreviations with links).

Bugfix

wai-lang: The wai-lang plugin will now use non-exclusive scopes to toggle the visibility of its controls. This makes it compatible with other plugins in terms of control visibility (e.g. when nesting wai-lang with links).

Aloha.Editor 0.23.13

Bugfix

ui: It is now possible to configure the toolbar to not float at all.

Bugfix

contenthandler: The content sanitizer has been corrected to use the editable that is passed to its handler() function rather than the currently active aditable.

Bugfix

headerids: Fixed generation of invalid HTML IDs for headings when the headings start with a number.

Bugfix

format: It is no longer possible to use formatting hotkeys to apply disallowed formatting in an editable.

Bugfix

editable: Aloha.Editable.registerEvents(), which attaches necessary events to the given editable, has been introduced. This is part of a bug fix for applications that intergrate Aloha Editor and need to re-attach events to editables.

Bugfix

blocks: The floating toolbar will now be shown when clicking inside of editables that are nested inside of standalone Empty blocks.

Aloha.Editor 0.23.12

Bugfix

wai-lang-plugin: Incluing the WAI Language plugin will no longer result in a JavaScript error during initialization.

Bugfix

core: Adding blocks and tables will no longer results in empty paragraphs being littered before the inserted element.

Bugfix

paste-plugin: Browsers no longer scroll to the top of an editable after content was pasted.

Bugfix

paste-plugin: There are no more discrepancies between browsers when pasting plain text.

Bugfix

table-plugin: Pressing delete or backspace in an empty node that is adjacent to a table element will no longer result in the table being deleted.

Aloha.Editor 0.23.11

Feature

link-plugin: Two new properties have been added, that will allow the link plugin to be configured to automatically set an anchor element‘s title attribute to a configured value when an internal link is detected in the href input field.

Bugfix

paste-plugin: There are no more discrepancies between browsers when pasting plain text.

Bugfix

paste-plugin: Browsers no longer scroll to the top of an editable after content was pasted.

Bugfix

Adding blocks and tables will no longer results in empty paragraphs being littered before the inserted element.

Aloha.Editor 0.23.10

Enhancement

Added trimWhitespaceCharacters method in util/html to remove the weirds whitespace characters, this is necessary in Internet Explorer 7

Enhancement

The extra plugin headerids now uses PubSub.sub instead Aloha.bind, when is available

Enhancement

Filters the tags used in transformFormattings, extracting the tags setted in the elements allowed setting

Enhancement

The editable Class now publish the message aloha.editable.deactivated via PubSub

Bugfix

Setting transformFormattings to true in the generic handler, and allowing the U tag, will no longer result in the elimination of the U tags

Bugfix

The table not longer will be deleted when the user press delete key with the cursor just before a table, or press backspace with the cursor just after the table

Bugfix

The extra plugin headerids not longer result in duplicated id when have duplicated headers title

Bugfix

Textcolor button on toolbar not longer have style superposition when have styles applied to td or you have jquery-ui styles

Bugfix

Empty tabs will no longer show on the toolbar

Bugfix

Prevents write outside the p tags, when you insert a table and select just above of this or just in the right, selecting the table wrapper element.

Bugfix

Merging table cells which contains will no longer result in the cell that was merged having unnecessary white spaces.

Aloha.Editor 0.23.9

Bugfix

With this change, paragraphs are no longer inserted when pressing Enter in editables that do not allow paragraphs to be contained inside (according to the HTML 5 standard). In this case, a linebreak is added instead.

Aloha.Editor 0.23.8

Bugfix

(metaview) An error was corrected which had caused the metaview button not being shown when metaview is configured to be automatically enabled for all editables.

Aloha.Editor 0.23.7

Bugfix

(core/pluginmanager) Initialization will complete and Aloha.ready() will fire even when no plugins have been configured.

Bugfix

(core/pluginmanager) Initialization no longer stalls when a configured plugin is disabled.

Aloha.Editor 0.23.6

Bugfix

Previously selected blocks are no longer deleted when hitting backspace from inside an Aloha Editor UI.

Bugfix

This change fixes the behaviour of linebreaks by preventing paragraphs to be inserted inside editable spans and paragraphs, and improves the editor‘s robustness against errors when inserting paragraphs.

Aloha.Editor 0.23.5

Enhancement

Added missing german translations for table plugin components

Bugfix

(table) This fix allows the active cell to be split into its parts if it has a col- or rowspan, even if it is not part of a selection.

Bugfix

Fixed applying predefined styles to tables and table-elements

Bugfix

A problem was fixed that prevented table-cells to be selected after their header-status was changed.

Bugfix

(core/engine) It is made possible to completely delete the contents of an editable while editing using commands like CTL+A, DEL.

Bugfix

A bug was fixed with additional elements being appended to a table, if a rowspan was set in its last column.

Bugfix

Cursor styles that are added inside tables for resizing are now correctly removed when the table is no longer editable.

Aloha.Editor 0.23.4

Bugfix

Characterpicker now opens in IE

Bugfix

Added missing documentation for the Sidebar.

Bugfix

naturalfit-button (reset) in table resize plugin did not remove width from table head (th) elements

Bugfix

Headerids plugin no longer changes ids of Aloha Editables, which was causing implementations to loose track of editables during saving of example.

Aloha.Editor 0.23.3

Bugfix

No longer remove the last arbitrary
element inside

elements.

Bugfix

Characterpicker plugin: Fixed the error “Object [object Object] has no method ‘is‘” occuring, when clicking into an editable.

Bugfix

Characterpicker plugin: Fixed the overlay not defining a font color for the characters in the overlay and inheriting the color from the content. If the font color was white the text in the overlay wasn‘t visible.

Bugfix

DOM-to-XHTML plugin: Fixed handling of closing angle brackets, which caused problems when these were included in attributes.

Bugfix

Sidebar: Fixed the styles in some plugins, which looked a bit broken and moved some css styles to the core.css.

Bugfix

No longer automatically append
elements to block-level elements unless they are empty.

Aloha.Editor 0.23.2

Bugfix

Fixed the text selection background color not being removed when selecting something from the attribute field of a plugin (link, wai-lang)

Bugfix

Fixed editables losing focus and the toolbar dissapearingwhen clicking on the toolbar, on a dialog or on an attribute field from a plugin (link, wai-lang)

Bugfix

No longer automatically append
elements to block-level elements unless they are empty.

Aloha.Editor 0.23.1

Enhancement

state-override: when pressing a formatting button and the cursor is not within a word, a state override will be set such that any text that is subsequently typed will acquire the appropriate formatting.

Bugfix

Ensured that the floating menu will not cover small editables whenever possible.

Bugfix

core: Aloha incorrectly reported that Chrome was not supported.

Aloha.Editor 0.23.0

Enhancement

format-plugin: b/strong and i/em handling. The “b“ button will show as pressed if the selection contains “strong“ formatting, and will unformat the “strong” if unpressed. The same behaviour was implemented for the i/em combination.

Enhancement

used hints from #749 to improve file size of icons

Enhancement

The Ephmera API was changed aloha-cleanme class has been renamed to aloha-ephemera. aloha-ui-* classes have been renamed to aloha-ephemera-*. Ephemera.ephemera() now doesn‘t merge the given value any more, but sets it (see function documentation for more information).
ephemera.attrMap doesn‘t accept ‘ELEMENT.attribute‘: true entries any more, instead use ‘attribute‘: [‘ELEMENT‘].
The mark* functions are now optional (modifications performed by these functions are documented and part of the API).

Enhancement

jquery-ui and jquery.layout were upgraded

Enhancement

Place the caret after the character that is inserted by characterpicker.

Enhancement

Introducing Modal.modal() — a stripped down modal dialog that can be customized for specific purposes.

Bugfix

Fix support for editable anchor elements

Bugfix

table-plugin: Tables which are inside editables what are inside of blocks will now transformed into Aloha Tables as they ought to be.