Aloha.Editor 2.1.1
Bugfix SUP-17877
Added a new hint
property to the Input
UI Component.
Aloha.Editor 2.1.0
Enhancement GPU-1559
Utility functions and features which have native browser implementations have been removed:
aloha/ecma5shims
util/arrays
util/json2
util/maps
Dependencies like that have also been removed:
ierange-m2
json2
amplify-store
sanitize
Aloha.Editor 2.0.6
Bugfix SUP-17223
Defaulted UI Component element to an empty jQuery element, to prevent potential null-access.
Bugfix SUP-17290
Fixed the list plugin to apply the editables
configuration correctly again.
Bugfix SUP-17822
Active Typography will be correctly detected again.
Bugfix SUP-17849
Added default values when updating an existing link.
Aloha.Editor 2.0.5
Bugfix SUP-17615
Added missing title editing for links.
Bugfix SUP-17625
Table plugin: Fixes missing styling button. The configuration items cellConfig
, columnConfig
and rowConfig
specify available entries in the table styling button to apply CSS classes to individual cells, columns or rows. See the table plugin documentation for details.
Bugfix SUP-17624
Format plugin: Fixes an issue that the config
setting of the format plugin was ignored.
Aloha.Editor 2.0.4
Aloha.Editor 2.0.3
Bugfix SUP-15430
Fix spellchecker configuration and adjust appearance.
Aloha.Editor 2.0.2
Bugfix SUP-16711
Fixes the Aloha list plugin so that the list style is applied properly.
Aloha.Editor 2.0.1
Bugfix SUP-16967
When pasting content from Word, empty html tags (like meta or link tags) are now correctly removed.
Aloha.Editor 2.0.0
Enhancement GPU-1097
Updates jQuery dependency to 3.7.0 and jQuery UI dependency to 1.13.2.
Custom plugins might need adaptions. See the list of deprecated function for jQuery.
Enhancement GPU-1097
Replaces linting and building with the wro4j-maven-plugin with eslint, esbuild and postcss.
Enhancement GPU-1253
Existing UI Systems have been overhauled:
ui/scopes
: have been de-deprecated and reworkedui/surface
: now controls general UI behavior and can derfer it to other systems entirely
All UI Components may now inherit from the new ui/component
base-class, as new functionality and requirements have been added.
Icons have been reworked to use Google's Material Symbols instead of Image files.
Icons that are used are mapped and available in ui/icons
.
New Systems for dynamic, and consistent UIs have been added:
ui/dropdown
: Adds a generic way to open a dropdown on a specific component.ui/dynamicForm
: Allows for dynamic form and form-control generation, as well as a component registry to add new components.ui/modal
: Adds a generic way to open modals with a form.
New UI Components have been added:
ui/attributeButton
: Regular button, which also allows for editing of a single attribute of an HTML-Element.ui/attributeToggleButton
: Extension ofui/attributeButton
which adds toggle functions to the button.ui/checkbox
: Checkbox component to control a boolean value.ui/colorPicker
: Color picker to either select a pre-defined color value or let‘s the user select/pick one.ui/contextButton
: Button which opens a context (Modal/Dropdown) on click.ui/contextToggleButton
: Extension ofui/contextButton
which adds toggle functions to the button.ui/dateTimePicker
: Date-Time Picker to enter/select a date, or a date-time.ui/iframe
: Iframe which allows embedding of external components and interacts via the window message protocol.ui/input
: Formerlyui/text
, and is a generic input element.ui/select
: Select which allows the user to select one or more options.ui/selectMenu
: Special select for dropdowns only. Allows the user to select only one option and has additional step for extra data input.ui/slider
: Horizontal slider/range to select a number.ui/splitButton
: Button which has a secondary smaller button added to it.ui/text
: Just text without any interactions.ui/toggleSplitButton
: Extension ofui/splitBtton
which adds toggle functions to the button.
Components which have been removed:
ui/accordionMenuButton
: Use a combination ofui/contextButton
, orui/dropdown
; and theui/selectMenu
instead.ui/menuButton
: Use a combination ofui/contextButton
, orui/dropdown
; and theui/selectMenu
instead.ui/multiSplit
: Use either aui/splitButton
, or a combination ofui/contextButton
, orui/dropdown
; and theui/selectMenu
instead.ui/port-helper-attribute-field
: Use theui/attributeButton
orui/attributeToggleButton
instead.ui/port-helper-multi-split
: Use either aui/splitButton
, or a combination ofui/contextButton
, orui/dropdown
; and theui/selectMenu
instead.ui/text
: Not directly removed, but changed toui/input
, as this component will now only render text.
Component layouts and stylings may have changed significantly.
Enhancement GPU-1253
Various settings for plugins and the UI Toolbar have been changed.
Noteworthy changes for the Aloha.settings.toolbar
:
- Tabs require an
id
, andlabel
property and optionally anicon
. - Tab component slots (@components@) can be defined by either
string
or as{ slot: string; scope: string | string[] }
elements.
For full type definitions, check the ui/settings
file.
Aloha.Editor 1.5.1
Bugfix SUP-15099
Copy and Paste has been improved to handle formatted text better.
Aloha.Editor 1.5.0
Enhancement GPU-883
GPU-883: Improved visibility of editable content by always showing an outline around them.
Bugfix SUP-15210
When a list element contains a break at the end you could not end the list by pressing enter two times. This is because the cursor could not be placed after the break, because the break is invisible. This fix makes breaks as last elements visible.
Aloha.Editor 1.4.63
Bugfix SUP-16967
When pasting content from Word, empty html tags (like meta or link tags) are now correctly removed.
Aloha.Editor 1.4.62
Bugfix SUP-15210
When a list element contains a break at the end you could not end the list by pressing enter two times. This is because the cursor could not be placed after the break, because the break is invisible. This fix makes breaks as last elements visible.
Bugfix SUP-15099
Copy and Paste has been improved to handle formatted text better.
Aloha.Editor 1.4.61
Bugfix SUP-14863
Fix jumping caret: When inserting text into an empty table cell the caret was jumping unexpectedly in the Chrome browser.
Aloha.Editor 1.4.60
Enhancement SUP-14030
When a selection intersects with an block/editable, and a deletion (keypress, paste, cut) would occur, each block/editable emits a cancelable event.
If one of these events is canceled, the event causing the deletion is canceled.
Bugfix SUP-10337
When nesting editables into blocks, which were nested into other blocks, in some situations, pressing the “delete“ or “forwarddelete” key
would call the confirmedDestroy() method of the inner block (which would show a dialog to ask, whether the block should be deleted),
although the shouldDestroy() method of the block returned false (effectively preventing the block from being deleted).
This has been fixed now, so that confirmedDestroy() is only called, when the block actually can be deleted (shouldDestroy() returns true).
Aloha.Editor 1.4.59
Bugfix SUP-13545
The aloha sidebar icon was hidden in pages using right-to-left languages. This has been fixed.
Aloha.Editor 1.4.58
Enhancement SUP-6751
The generic content handler now allows configuration to transform elements with specific attributes into other elements. This is used to counter an issue introduced in Chrome 75.
Chrome will try to maintain styling on the copied range.
Depending on the styling of the copied element this may lead to <b> elements turning into <span style="font-size: 700">
As of now Chrome is unable to copy <sub> and <sup> elements in contenteditable. This leads to <sub> and <sup> elements turning into spans.
You can find an example configuration in the documenation.
Aloha.Editor 1.4.57
Bugfix SUP-8591
A Reflected XSS vulnerability is fixed now. When using the proxy plugin users could enter malicious code in the url, which would be printed in the document.
https://github.com/alohaeditor/Aloha-Editor/issues/1560
Aloha.Editor 1.4.56
Bugfix SUP-5573
Block plugin, Table plugin: Under special circumstances, when deleting a table by selecting over it, and pressing “delete“ or “backspace”
blocks and tables after the selection would also be deleted.
This has been fixed now.
Bugfix SUP-6196
Block plugin: When clicking into an already active editable inside a block, the block was activated again and the scope was changed
to “block“ and then to “text“ again, which caused the toolbar to switch to the default tab for “text“ (which normally is “Format”),
even if another tab was active before.
This has been changed now, if the block is already active, it will not be activated again, and the scope will not be changed, so that
the currently active tab will not change.
Aloha.Editor 1.4.55
Bugfix SUP-5730
Hints plugin: Changed the default position settings of the hints overlay so it does not hide the text when typing.
Aloha.Editor 1.4.54
Bugfix SUP-8047
Format Plugin: The action “Remove formatting“ would remove the editable wrapper in a table cell, when “div“ was added to the “removeFormats” settings.
This has been fixed, remove formatting will stop at the nearest editable host object now.
Aloha.Editor 1.4.53
Bugfix SUP-7720
Format Plugin: The action “Remove formatting” did not work on collapsed selections and has been fixed.
Aloha.Editor 1.4.52
Bugfix SUP-7118
When a tag with an inline editable was reloaded and its configuration in alohaeditor config used a nested selector that includes a parent element, the tagtype whitelist did not apply anymore and the floating menu allowed all tags to be inserted.
This bugfix gets the editable object again from DOM if it is not part of it anymore. This way nested selectors that include parent elements are working even after tag reload.
Aloha.Editor 1.4.51
Bugfix sup-7293
Contenthandler Plugin: After sanitizing the content could contain useless link tags without any attributes. This has been fixed.
Aloha.Editor 1.4.50
Aloha.Editor 1.4.49
Bugfix SUP-6294
When copying lists which are styled with custom classes (via the list plugin), the custom classes where not preserved on paste. To fix this
issue the generic content handler was rewritten: plugins can now register a PluginContentHandler and are able to define which parts of a
pasted content should be handled by a PluginContentHandler instead of the GenericContentHandler. For the list plugin a PluginContentHandler
was implemented which preserves the configured classes and also adds the configured default classes.
Aloha.Editor 1.4.48
Bugfix SUP-5397
When pasting content from a word document, that was modified using the word correction mode
the wordcontenthandler pasted the ins and del elements.
This has been fixed now, the wordcontenthandler will remove del elements and unwrap the contents of ins elements.
Bugfix SUP-6269
When copying a headline the format was lost after pasting. This has been fixed. The error still occurs when a single line of headline is copied and pasted in Internet Explorer.
Aloha.Editor 1.4.47
Bugfix SUP-4230
show german labels for formating styles when german is set as the editor language
Bugfix SUP-4810
When using an input field in the toolbar to add some metainformation (e.g. the Author of a citation) with
a selection covering differently formatted sections, pressing ENTER sometimes caused an “Uncaught DOMException” and
failed to collapse the selection at its end.
This has been fixed now.
Bugfix SUP-6150
When numerated headers and meta view was switched on for an editable, additional (empty) div‘s where
created inside the headers every time the editable was activated.
This has been fixed now.
Aloha.Editor 1.4.46
Bugfix SUP-6082
wordcontenthandler: Removed alignment when pasting aligned text from Word.
Aloha.Editor 1.4.45
Bugfix SUP-5832
When a row of a table was transformed into a header, and afterwards all rows were deleted,
the table itself was not deleted. This has been fixed now.
Also, after the selected rows/columns were deleted, the floating menu still showed table related tabs, which was
incorrect, because the table was not selected any more.
Bugfix SUP-5481
In certain cases whitespace could not be deleted with the delete or backspace keys. This has been fixed.
Aloha.Editor 1.4.44
Feature GTXPE-123
Add “responsiveMode” option to the UI plugin. When enabled, the Aloha Editor toolbar will no longer float around but
stay fixed above the active editable or the top of the screen.
Feature GTXPE-123
Added a new UI component, AccordionMenuButton, which can be used as a replacement for the MenuButton when mobile &
touch devices need to be supported.
Enhancement GTXPE-165
The focal point button icon for the image plugin has been updated.
Bugfix SUP-5908
paste-plugin: When a list was pasted from Word, where items started a new list beginning at a level greater than 1, the list item was removed, because Aloha Editor
does not allow lists that start at a nesting level greater than 1.
The behaviour has been changed now, so that such lists will be pasted, so that the first item starts at level 1.
Bugfix SUP-5908
list-plugin: The list plugin allowed to insert paragraphs or headers into list items, which caused unexpected editing behaviour.
This is now changed, so it is no longer possible to insert paragraphs or headers into list items.
Aloha.Editor 1.4.43
Enhancement GTXPE-165
It is now possible to use the Image Plugin to set a single focal point within an image.
Bugfix SUP-5796
When editing with Internet Explorer in a frameset, it sometimes was necessary to click an
editable twice in order to activate it.
This has been fixed now.
Aloha.Editor 1.4.42
Enhancement SUP-5804
block-plugin: Block implementations can now implement the method confirmedDestroy(), which allows to add a confirmation
before a block is deleted via the keyboard.
Bugfix SUP-5798
When the “Remove link” button was clicked while two consecutive links were selected, only the first one was actually removed. This behaviour has been changed, so that all links in the current selection are removed.
Bugfix SUP-5765
When pasting markup containing block level elements (like paragraphs or headers) into
an editable, that does not allow block level elements, AlohaEditor unwrapped the contents,
which resulted in consecutive text blocks (without visible line break).
This has been fixed now, so that after each unwrapped block level element a
tag will be inserted to
retain the line breaks.
Aloha.Editor 1.4.41
Bugfix SUP-5692
Added CSS properties to the UI toolbar to not be selectable anymore in order to fix an issue with selection detection with newer Chrome versions when using Aloha.execCommand.
Aloha.Editor 1.4.40
Bugfix
Toggling the header status of a table cell did not trigger a smart-content-change event. This has been fixed.
Bugfix
Merged table cells could not be split when they where marked as table headers. Also the aloha-smart-content-changed
event was not triggered properly when cells where merged or splitted. These issures have been fixed.
Bugfix
The initial snapshot of editables were taken too early (before plugins were initialized),
which sometimes caused the editables to be marked as “modified” right from the start (before any actual changes were done by editors).
This has been fixed now.
Also the format plugin will now trigger aloha-smart-content-changed
events when formatting is changed.
Aloha.Editor 1.4.38
Bugfix
The “aloha-smart-content-changed“ event of type “block-change“ was not triggered when adding or deleting rows or columns. This has been fixed.
Furthermore the event now provides the “plugin” attribute, which can be used to specifically listen for changes caused by a particular plugin.
Aloha.Editor 1.4.37
Bugfix SUP-5142
wordcontenthandler: Improved pasting of lists from word to work more reliable
Aloha.Editor 1.4.36
Bugfix SUP-5012
Clicking on the drag handle of a table will now properly deactivate the table itself and hide the respective tabs in the toolbar.
Bugfix SUP-5043
format plugin: When changing the formatting on block-level inside a table caption in Internet Explorer the browser scrolled to the beginning of the editable. This has been fixed.
Aloha.Editor 1.4.35
Bugfix SUP-5150
format plugin: When selecting a headline text that has a class attribute set, the related button was not selected in the UI. This has been fixed.
Aloha.Editor 1.4.34
Bugfix SUP-5109
numerated headers plugin: The header numerations will now be initialized when the editable is created instead of when the editable is activated.
Aloha.Editor 1.4.33
Bugfix sup-4049
Fixed typo in german translations of the format plugin.
Bugfix SUP-4893
word-contenthandler: Improved the pasting of lists from Word.
Aloha.Editor 1.4.32
Enhancement GTXPE-88
Emptylink-Plugin: It is now possible to activate/deactivate highlighting of empty links per editable.
Bugfix SUP-4580
Link-Plugin: When targetregex and target were set, the target was automatically changed
when a link to a repository item was selected, even if the item was not changed.
This has been fixed now, the target must only be automatically changed according to the settings,
when the href (for external links) or the item (when linking to a repository item) is actually changed.
Bugfix SUP-4644
Cite-Plugin: Adding inline quotations around formatted text will no longer create separate quotations around each formatted part,
but will create a single quotation containing all the text.
Aloha.Editor 1.4.31
Enhancement SUP-4600
Block-Plugin: aloha.drop.block.in.editable event is triggered when a draggable block is dropped.
Bugfix SUP-3131
paste-plugin: When pasting content from Word to Edge, the paste plugin failed to detect and transform
Word specific formatting due to missing classes. The wordcontenthandler is now modified to always treat content
as if coming from Word when used in Edge.
Aloha.Editor 1.4.30
Bugfix SUP-4340
format-plugin: Checking the heading hierarchy could not be disabled by setting
checkHeadingHierarchy to “false” (as string). This has been fixed now.
Bugfix SUP-4074
table-plugin: When an editable in a block in a table was clicked, the selection was not
correctly set in the clicked editable, if the editable containing the table was selected before.
This has been fixed now.
Bugfix SUP-4102
paste-plugin: When pasting content from Word with paragraphs that only contained non-breakable spaces,
the non-breakable spaces were unwrapped.
This has been changed now, so that the paragraphs will be pasted together with the non-breakable spaces.
Bugfix SUP-4177
paste-plugin: When pasting content from Word that contained completely empty lists, the lists
were not removed but pasted as incomplete html, which caused unexpected editing behaviour.
This has been fixed now.
Aloha.Editor 1.4.29
Bugfix SUP-4138
word-contenthandler: Fixed an error when pasting a link (a-tag) where the href attribute is missing.
Bugfix SUP-4150
table-plugin: when inserting a new table an additional paragraph was inserted after the table. This won‘t happen anymore.
Aloha.Editor 1.4.28
Bugfix SUP-3998
Feature detection for selection of multiple ranges in rangy-core caused a deprecation warning in Chrome. Since selection
of multiple ranges is only available in FireFox and is not supported in Aloha-Editor, detecting this feature has been
removed altogether.
Bugfix SUP-4001
In Firefox clicking into a table cell sometimes threw an error because a property on the non-standard window.event
object was accessed. This has been fixed. The Aloha-Editor table plugin will now always use the event object passed to
the event handler by the browser.
Bugfix SUP-3958
In some situations, when switching between editables, an empty toolbar was shown
instead of hiding it.
This has been fixed now.
Aloha.Editor 1.4.27
Bugfix SUP-3919
word-contenthandler: When pasting a link (a-tag) from Word that contains a file:// href, it will be removed now. The link content will be preserved.
Aloha.Editor 1.4.26
Bugfix SUP-3794
When an anchor is added to a link, while the href is ‘http://‘ or ‘https://‘, the
href will be cleared.
Aloha.Editor 1.4.25
Bugfix SUP-3617
When the link-plugin was configured with a targetregex
and target
, the target was automatically set when a link was clicked, but not actually changed.
This has been fixed now, the target will only be set automatically according to the setting when a link href is actually changed.
Aloha.Editor 1.4.24
Bugfix SUP-3650
Editing anchors of links in a separate field, adding an anchor by typing ‘#‘ in the link field did not always work.
Also when pressing ‘ENTER‘ in the link field, an already added anchor was sometimes removed.
Both issues have been fixed.
Aloha.Editor 1.4.23
Bugfix SUP-3576
When an editable is deactivated, because another editable is activated, the event aloha-editable-deactivated
will contain the new editable as event parameter newEditable
.
Aloha.Editor 1.4.22
Feature SUP-3537
added configurable wrapping div element for tables
Create responsive tables by wrapping table-elements created by Aloha-Editor in a div-element with a configurable class to make them scroll horizontally on small devices.
This follows the example giving by Twitter Bootstrap
Configuration Example
// enable the wrapping div-element and set the class to 'responsive-table' Aloha.settings.plugins.table.wrapClass = 'responsive-table';
Output Example
<div class="responsive-table"> <table> ... </table> </div>
Bugfix SUP-3500
When changing a heading with the format plugin the check, whether the heading hierarchy is violated, did not work for some configurations.
This has been fixed.
Bugfix SUP-3358
When an editable contained a block with an iframe,
some editing actions (like transforming a paragraph to a header)
could fail with a security error (logged in the console).
This has been fixed now.
Aloha.Editor 1.4.21
Bugfix SUP-3459
When using Internet Explorer, links in table cells or in editables nested inside blocks where not clickable.
This has been fixed now.
Aloha.Editor 1.4.20
Bugfix SUP-3448
When the link or wai-lang plugin was loaded, switching between editables by clicking
into them did not always work. In those cases, the focus continuously changed between two
editables while typing.
This issue has been fixed.
Aloha.Editor 1.4.19
Bugfix SUP-3387
Sometimes, when editables with configured content rules contained blocks, the content rules
were also applied to the block contents.
This has been fixed now.
Bugfix SUP-3284
The automatic tab selection of the toolbar upon scope change failed to check whether
the tab to be selected contained any visible children. This could cause the toolbar to
appear empty (with none of the visible tabs selected).
This has been fixed now.
Aloha.Editor 1.4.18
Bugfix SUP-3171
list-plugin: When transforming a list to different list type, the available classes of the old list type where not removed. This has been fixed.
Bugfix SUP-3199
Setting a language annotation would remove the focus from the editable and therefore deactivate it. This has been fixed.
Bugfix SUP-3291
Added a section explaining Arenas to the UI documentation.
Bugfix SUP-3171
Sometimes setting a CSS class for a list with the list plugin, a previously selected class would not be removed first. This has been fixed.
Aloha.Editor 1.4.17
Bugfix SUP-3314
Fixed clicking into and editing text in an editable not working anymore in Chrome 53 when the repository-browser plugin is loaded, because it set the CSS attribute “-webkit-user-select: all” on the body.
Aloha.Editor 1.4.16
Bugfix SUP-3250
Moving over empty paragraphs with the arrow keys would make the paragraph vanish. This happened only with firefox. This has been fixed.
Aloha.Editor 1.4.15
Bugfix SUP-2992
When the checkHeadingHierarchy
feature of the format plugin was activated the plugin would try to access a null object when an editable contained blocks. This has been fixed.
Bugfix SUP-3154
The formatless paste contenthandler (used by the formatless paste plugin) and the generic contenthandler
did not clean any content, when an aloha block was found in the pasted contents.
This has been changed, so that the content handlers will clean everything else, but will still leave the
aloha blocks (identified by the class aloha-block) untouched.
Bugfix SUP-3192
The KeyEvent.keyIdentifier field is said to be removed in Chrome. This fix removes it‘s occurrence in AlohaEditor.
Aloha.Editor 1.4.14
Bugfix SUP-2911
When all plugins were disabled for a certain editable, the empty floating toolbar was shown nevertheless. This has been fixed.
Aloha.Editor 1.4.13
Bugfix SUP-2813
After adding a paragraph in Chrome the cursor would jump back before the paragraph as soon as you type a character.
This has been fixed.
Bugfix SUP-2837
Removed a special character from one of the block plugin files, that prevented Aloha Editor from loading in the unminified version.
Aloha.Editor 1.4.12
Bugfix SUP-2291
Aloha.unbind: Using this method with specifying the event name only unbinds all registered functions for this event. Most of the times, this is not the desired goal. Therefore a second parameter has been added that allows you to also specify the bound callback function. In this case only the specified callback function will be removed for this event.
Aloha.Editor 1.4.11
Enhancement SUP-2607
When the table layout options of the table-plugin are used alongside the sanitize content-handler (with it‘s default configuration) the classes on table, tr and td elements are removed by the content-handler. This behaviour is now documented in the guides page of the table-plugin.
Enhancement SUP-2657
Table Plugin: Added the configuration option “defaultClass”. If set, the default class will be set as the className property of the newly created table. See the documentation of the plugin for configuration settings.
Aloha.Editor 1.4.10
Bugfix SUP-2388
When using the highlighteditables plugin on a document with nested editables, the fade-out animation of the editable outlines could cause an editable to appear modified directly after it has been saved. This has been fixed.
Aloha.Editor 1.4.9
Bugfix SUP-2623
When the href field for a link contained only the default value "http://"
, it had to be cleared manually when adding an anchor to avoid invalid URLs. This behavior has been changed so that the href field is automatically cleared, when it contains only "http://"
or "https://"
and the anchor field is changed.
Aloha.Editor 1.4.8
Bugfix SUP-2467
The configuration of dropzones in the block plugin was not taken into account when dragging blocks. This has been fixed.
Aloha.Editor 1.4.7
Bugfix SUP-2513
When pressing ENTER in the href field of the link-plugin, the focus was not properly updated in some browsers. This has been fixed.
Aloha.Editor 1.4.6
Bugfix SUP-2266
Fixed whitespaces at the start or end of an inline editable not being properly handled when deleting text.
Bugfix SUP-2466
The link-plugin did not treat found link markup as a jQuery object resulting
in errors like “X.attr() is not a function” and undefined references. This
has been fixed.
Bugfix SUP-2184
When Drag & Drop was disabled, blocks with duplicate IDs inside nested editables
would sometimes get the class ui-state-disabled
preventing any interaction
with them.
Note that blocks with duplicate IDs are not supported in Aloha-Editor since this
implies invalid HTML markup. This fix is just intended to prevent certain subsequent
errors when duplicate blocks are already present.
Aloha.Editor 1.4.5
Bugfix SUP-2201
The sidebar panels of the link-plugin and the ones of the
editing API
have been adapted so that they have a common appearance.
Bugfix SUP-2365
When clicking outside of an editable, and clicking inside on the same element again, the ‘aloha.selection.context-change‘ was not triggered, which for example also prevented the link UI from being activated. This has been fixed.
Aloha.Editor 1.4.4
Bugfix SUP-2359
When clicking on a link the aloha.link.selected
event was not published due to
a type error. This bug was introduced in Aloha Editor 1.4.2 and has been fixed now.
Aloha.Editor 1.4.3
Bugfix SUP-1705
Using the remove format action on list items could sometimes create
unexpected markup. This has been fixed.
Bugfix SUP-194
A styling that is intended for the style buttons of the list plugin was
also applied to certain other list constucts. The respective CSS selector
has been fixed.
Bugfix SUP-2246
Several plugins used the port-helper-attribute-field with HTML DOM elements instead of
jQuery objects resulting in errors like “X.attr() is not a function”. This has been
fixed.
Bugfix SUP-2263
Fixed a typo in the german translation of the align plugin.
Aloha.Editor 1.4.2
Bugfix SUP-2209
When clicking in a table, the respective menu would not open in the ribbon. This problem
was introduced in the last hotfix, and has been fixed now.
Bugfix SUP-2214
Native drag and drop handling by the browser causes unwanted style elements to be added around text. Drag and drop of text is now disabled.
Aloha.Editor 1.4.1
Bugfix SUP-2110
When using the targetregex, cssclassregex and titleregex settings of the link plugin,
the corresponding attribute was not removed, when the current href did not match the
pattern. This has been fixed, and the behavior of this settings has been changed so
that the automatically set values will only be set, when the href of the currently
selected link changes, but not if another link is selected, which means that manual
changes to these attributes will be preserved, so long as the link href does not change.
Bugfix SUP-1041
The handling of <br>
tags in empty paragraphs was consistent
across browsers. This has been fixed.
Aloha.Editor 1.4.0
Enhancement
Added the possibility to resize table columns and set the width values in percent instead of pixel. This allows for more dynamic layouts.
Adding width values to the table element when resizing the whole table. This is needed to shrink a table.
Enhancement
The link plugin has been extended to handle anchors in URLs. The feature is
disabled by default and has to be activated via the anchorLinks
setting
for the link plugin.
Aloha.Editor 1.3.36
Bugfix SUP-3387
Sometimes, when editables with configured content rules contained blocks, the content rules
were also applied to the block contents.
This has been fixed now.
Bugfix SUP-3284
The automatic tab selection of the toolbar upon scope change failed to check whether
the tab to be selected contained any visible children. This could cause the toolbar to
appear empty (with none of the visible tabs selected).
This has been fixed now.
Aloha.Editor 1.3.35
Bugfix SUP-3171
list-plugin: When transforming a list to different list type, the available classes of the old list type where not removed. This has been fixed.
Bugfix SUP-3199
Setting a language annotation would remove the focus from the editable and therefore deactivate it. This has been fixed.
Bugfix SUP-3291
Added a section explaining Arenas to the UI documentation.
Bugfix SUP-3171
Sometimes setting a CSS class for a list with the list plugin, a previously selected class would not be removed first. This has been fixed.
Aloha.Editor 1.3.34
Bugfix SUP-3314
Fixed clicking into and editing text in an editable not working anymore in Chrome 53 when the repository-browser plugin is loaded, because it set the CSS attribute “-webkit-user-select: all” on the body.
Aloha.Editor 1.3.33
Bugfix SUP-3250
Moving over empty paragraphs with the arrow keys would make the paragraph vanish. This happened only with firefox. This has been fixed.
Aloha.Editor 1.3.32
Bugfix SUP-2992
When the checkHeadingHierarchy
feature of the format plugin was activated the plugin would try to access a null object when an editable contained blocks. This has been fixed.
Bugfix SUP-3154
The formatless paste contenthandler (used by the formatless paste plugin) and the generic contenthandler
did not clean any content, when an aloha block was found in the pasted contents.
This has been changed, so that the content handlers will clean everything else, but will still leave the
aloha blocks (identified by the class aloha-block) untouched.
Bugfix SUP-3192
The KeyEvent.keyIdentifier field is said to be removed in Chrome. This fix removes it‘s occurrence in AlohaEditor.
Aloha.Editor 1.3.31
Bugfix SUP-2911
When all plugins were disabled for a certain editable, the empty floating toolbar was shown nevertheless. This has been fixed.
Aloha.Editor 1.3.30
Bugfix SUP-2813
After adding a paragraph in Chrome the cursor would jump back before the paragraph as soon as you type a character.
This has been fixed.
Bugfix SUP-2837
Removed a special character from one of the block plugin files, that prevented Aloha Editor from loading in the unminified version.
Aloha.Editor 1.3.29
Bugfix SUP-2291
Aloha.unbind: Using this method with specifying the event name only unbinds all registered functions for this event. Most of the times, this is not the desired goal. Therefore a second parameter has been added that allows you to also specify the bound callback function. In this case only the specified callback function will be removed for this event.
Aloha.Editor 1.3.28
Enhancement SUP-2607
When the table layout options of the table-plugin are used alongside the sanitize content-handler (with it‘s default configuration) the classes on table, tr and td elements are removed by the content-handler. This behaviour is now documented in the guides page of the table-plugin.
Enhancement SUP-2657
Table Plugin: Added the configuration option “defaultClass”. If set, the default class will be set as the className property of the newly created table. See the documentation of the plugin for configuration settings.
Aloha.Editor 1.3.27
Bugfix SUP-2388
When using the highlighteditables plugin on a document with nested editables, the fade-out animation of the editable outlines could cause an editable to appear modified directly after it has been saved. This has been fixed.
Aloha.Editor 1.3.26
Bugfix SUP-2467
The configuration of dropzones in the block plugin was not taken into account when dragging blocks. This has been fixed.
Aloha.Editor 1.3.25
Bugfix SUP-2513
When pressing ENTER in the href field of the link-plugin, the focus was not properly updated in some browsers. This has been fixed.
Aloha.Editor 1.3.24
Bugfix SUP-2266
Fixed whitespaces at the start or end of an inline editable not being properly handled when deleting text.
Bugfix SUP-2184
When Drag & Drop was disabled, blocks with duplicate IDs inside nested editables
would sometimes get the class ui-state-disabled
preventing any interaction
with them.
Note that blocks with duplicate IDs are not supported in Aloha-Editor since this
implies invalid HTML markup. This fix is just intended to prevent certain subsequent
errors when duplicate blocks are already present.
Aloha.Editor 1.3.23
Bugfix SUP-2201
The sidebar panels of the link-plugin and the ones of the
editing API
have been adapted so that they have a common appearance.
Bugfix SUP-2365
When clicking outside of an editable, and clicking inside on the same element again, the ‘aloha.selection.context-change‘ was not triggered, which for example also prevented the link UI from being activated. This has been fixed.
Aloha.Editor 1.3.22
Bugfix SUP-1705
Using the remove format action on list items could sometimes create
unexpected markup. This has been fixed.
Bugfix SUP-194
A styling that is intended for the style buttons of the list plugin was
also applied to certain other list constucts. The respective CSS selector
has been fixed.
Bugfix SUP-2246
Several plugins used the port-helper-attribute-field with HTML DOM elements instead of
jQuery objects resulting in errors like “X.attr() is not a function”. This has been
fixed.
Bugfix SUP-2263
Fixed a typo in the german translation of the align plugin.
Aloha.Editor 1.3.21
Bugfix SUP-2209
When clicking in a table, the respective menu would not open in the ribbon. This problem
was introduced in the last hotfix, and has been fixed now.
Bugfix SUP-2214
Native drag and drop handling by the browser causes unwanted style elements to be added around text. Drag and drop of text is now disabled.
Aloha.Editor 1.3.20
Bugfix SUP-2110
When using the targetregex, cssclassregex and titleregex settings of the link plugin,
the corresponding attribute was not removed, when the current href did not match the
pattern. This has been fixed, and the behavior of this settings has been changed so
that the automatically set values will only be set, when the href of the currently
selected link changes, but not if another link is selected, which means that manual
changes to these attributes will be preserved, so long as the link href does not change.
Bugfix SUP-1041
The handling of <br>
tags in empty paragraphs was consistent
across browsers. This has been fixed.
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-1607
Drag and drop of aloha-block elements did not work in nested editables and
table cells. This has been fixed.
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).
Aloha.Editor 1.3.18
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.
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-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.
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-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.
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.
Aloha.Editor 1.3.14
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.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-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-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.3.11
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.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-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.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-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.3.7
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.3.6
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.3.5
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.3.4
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.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-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.
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).
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.3.0
Enhancement
Table-plugin: The tab “Table” in the toolbar now contains a button to delete the currently selected table.
Aloha.Editor 1.2.47
Bugfix SUP-2388
When using the highlighteditables plugin on a document with nested editables, the fade-out animation of the editable outlines could cause an editable to appear modified directly after it has been saved. This has been fixed.
Aloha.Editor 1.2.46
Bugfix SUP-2467
The configuration of dropzones in the block plugin was not taken into account when dragging blocks. This has been fixed.
Aloha.Editor 1.2.45
Bugfix SUP-2513
When pressing ENTER in the href field of the link-plugin, the focus was not properly updated in some browsers. This has been fixed.
Aloha.Editor 1.2.44
Bugfix SUP-2266
Fixed whitespaces at the start or end of an inline editable not being properly handled when deleting text.
Bugfix SUP-2184
When Drag & Drop was disabled, blocks with duplicate IDs inside nested editables
would sometimes get the class ui-state-disabled
preventing any interaction
with them.
Note that blocks with duplicate IDs are not supported in Aloha-Editor since this
implies invalid HTML markup. This fix is just intended to prevent certain subsequent
errors when duplicate blocks are already present.
Aloha.Editor 1.2.43
Bugfix SUP-2201
The sidebar panels of the link-plugin and the ones of the
editing API
have been adapted so that they have a common appearance.
Bugfix SUP-2365
When clicking outside of an editable, and clicking inside on the same element again, the ‘aloha.selection.context-change‘ was not triggered, which for example also prevented the link UI from being activated. This has been fixed.
Aloha.Editor 1.2.42
Bugfix SUP-1705
Using the remove format action on list items could sometimes create
unexpected markup. This has been fixed.
Bugfix SUP-194
A styling that is intended for the style buttons of the list plugin was
also applied to certain other list constucts. The respective CSS selector
has been fixed.
Bugfix SUP-2246
Several plugins used the port-helper-attribute-field with HTML DOM elements instead of
jQuery objects resulting in errors like “X.attr() is not a function”. This has been
fixed.
Bugfix SUP-2263
Fixed a typo in the german translation of the align plugin.
Aloha.Editor 1.2.41
Bugfix SUP-2209
When clicking in a table, the respective menu would not open in the ribbon. This problem
was introduced in the last hotfix, and has been fixed now.
Bugfix SUP-2214
Native drag and drop handling by the browser causes unwanted style elements to be added around text. Drag and drop of text is now disabled.
Aloha.Editor 1.2.40
Bugfix SUP-2110
When using the targetregex, cssclassregex and titleregex settings of the link plugin,
the corresponding attribute was not removed, when the current href did not match the
pattern. This has been fixed, and the behavior of this settings has been changed so
that the automatically set values will only be set, when the href of the currently
selected link changes, but not if another link is selected, which means that manual
changes to these attributes will be preserved, so long as the link href does not change.
Bugfix SUP-1041
The handling of <br>
tags in empty paragraphs was consistent
across browsers. This has been fixed.
Aloha.Editor 1.2.39
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-1607
Drag and drop of aloha-block elements did not work in nested editables and
table cells. This has been fixed.
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).
Aloha.Editor 1.2.38
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.
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-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.
Aloha.Editor 1.2.37
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.2.36
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.2.35
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.
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.
Aloha.Editor 1.2.34
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.2.33
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.2.32
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-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.2.31
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.2.30
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.2.29
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.2.28
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.2.27
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.2.26
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.2.25
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.2.24
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.2.23
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.2.22
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.2.21
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.2.20
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.2.19
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.
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.2.18
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.2.17
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.2.16
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.2.15
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.2.14
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.2.13
Bugfix SUP-807
When custom attributes of linked repository items are
shown in the sidebar, the fields would not change when selecting an
external link after a link to a repository item had been selected.
This has been fixed now. The customer attribute fields in the sidebar
will be emptied for external links.
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.2.12
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-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.
Aloha.Editor 1.2.11
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.2.10
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.
Aloha.Editor 1.2.9
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.2.8
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.2.7
Enhancement SUP-588
It is now possible to add custom attributes from a selected link
target as readonly fields to the sidebar when using the link plugin.
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.2.6
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.2.5
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.2.4
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.2.3
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.2.2
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.2.1
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.2.0
Enhancement
textcolor-plugin: Added a new feature to the textcolor plugin, it is now possible to set the background-color of text with this plugin.
Enhancement
Anchor bookmarks will no longer be automatically removed after pasting.
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.
Aloha.Editor 1.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.2
Bugfix RT58503
In the repository browser, sorting the listed items was not possible.
This has been fixed now.
Aloha.Editor 1.0.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.0.0
The Aloha.Editor version number was finally bumped from version 0.26.6 to 1.0.0.
Aloha.Editor 0.26.6
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.26.5
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.26.4
Bugfix RT58344
The image plugin would not accept disabling the “insert image” button by configuration. This has been fixed. Also, a small bug that prevented internal configuration cleanup when destroying an editable was fixed.
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.26.3
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.26.2
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.26.1
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.26.0
Feature RM12613
Introducing Content Rules feature:
This module facilitates global HTML content restriction across Aloha Editor. It is designed as a single point of configuration that will provide a contract to uniformly effect editing interactions and the user interface in cohesive way.
See Aloha Editor guides for further details.
Feature KB1479
empty-paragraph: highlights and removes empty paragraph and consecutive br‘s.
See Aloha Editor guides for further details.
Feature KB1480
emptylink-plugin: new plugin that highlight empty links.
See Aloha Editor guides for further details.
Enhancement
format-plugin: Check the hierarchy of headings
It is now possible to check the hierarchy of all headings in an editable. If the hierarchy is violated, a class “aloha-heading-hierarchy-violated” is added to the heading.
It is also checked if the hierarchy of a heading is lower than the highest allowed hierarchy in the configuration.
See Aloha Editor guides for further details.
Enhancement
formatlesspaste-plugin: Improved tooltips for the toggle button.
Bugfix
ephemera-plugin: SVG elements no longer cause the ephemera plugin to sometimes throw errors when attempting to operate on the element‘s className property.
Bugfix RT57971
repository-browser: The included Repository Browser was updated to a more recent version.
Bugfix RT58117
Change attribute ‘element.children‘ to ‘element.childNodes‘. ‘element.children‘ is not available in IE.
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.
Aloha.Editor 0.24.39
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.24.38
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.24.37
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.24.36
Bugfix RT58503
In the repository browser, sorting the listed items was not possible.
This has been fixed now.
Aloha.Editor 0.24.35
Bugfix RT58472
List items would previously be stripped of whitespace between inline elements after pressing enter. This has been fixed now.
Aloha.Editor 0.24.34
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.24.33
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.24.32
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.24.30
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.24.29
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.
Aloha.Editor 0.24.28
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.24.27
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.24.26
Bugfix RT57942
The extra/formatlesspaste plugin now can remove tags that don‘t contain text (e.g. img)
Aloha.Editor 0.24.25
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.24.24
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.24.23
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.24.22
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.24.21
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 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.24.20
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 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.
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.24.19
Bugfix RT57827
table-plugin: WAI input stays when you click on it.
WAI input disappeared because of a selection issue with mouse-up event. Mouse-up event was stopped
if a cell is selected. Mouseup event should not be stopped because it is used in the
jquery.aloha.js file (jquery.aloha.js:207) for initializing the selection.
Bugfix RM13413
Sometimes changing the selection (e.g. by clicking into an editable) caused an endless loop in Internet Explorer, which finally caused IE to throw an “Out of stack space” error.
This endless loop is prevented now.
Bugfix RM13435
Fixed a javascript error that occured when inserting a new block in an editable and then moving the cursor with the keyboard up.
Error: “SCRIPT5007: Die Eigenschaft “length“ eines undefinierten oder Nullverweises kann nicht abgerufen werden. ” – aloha.js:22381
Bugfix rm12385
table-plugin: row/column floating menu stays when a row/column is selected.
Selecting a row/column in a table did throw a javascript exception regarding the selection range (rangy-core issue).
This error is caught for IE7 and IE8, but not for document mode 7 or 8. Catching the error in case the
document mode is less or equal to 8 solves the issue.
Bugfix RT57667
Copy paste tables from MS Word to IE does not create several tables.
When copying and pasting tables from Word to IE several tables were created, one table for each row,
instead of one unique table. This was due to 2 problems: the generic content handler was not set and
a bug in the pasting code. Generic content handler sanitizes the copied content. The second problem
is that an element is unwrapped if this is the only element in the paragraph. If the element is a Table
the unwrap should not be done. For Firefox or Chrome this not happens because the paragraph has always
more than one element, it contains empty elements.
Bugfix RT57827
ctrl-c or ctrl-x inside a table copies or cuts the selected text.
When the key commands ctrl-c(copy) or ctrl-x(cut) are pressed the whole table was selected.
This is due to a feature that sets the selection to the whole block when copying or cutting via key commands.
With this fix, the selection of the whole block is only done if the block is not a table.
Bugfix RM13393
table-plugin: setting a row/column as table header does remove the cells selection.
When setting a row/column as table header the cell selection was not removed. Setting a row/column as
table header removes the selected row/column and replaces it by a new one. The
problem was that the ‘unselect‘ function was called for the removed row/column instead of
for the newly inserted row/column. Updating the selection to the new row/column fixes the issue.
Aloha.Editor 0.24.18
Bugfix RT57797
align-plugin: align only applies to the selected paragraphs.
When selecting several paragraphs and these paragraphs are wrapped in a block element which is not the editing host,
the align style was set into the block element instead of into the paragraphs. With these changes the align style is
only applied to the selected paragraphs.
Bugfix RT57824
When pasting nested ordered lists from Word, some lists where incorrectly recognized as unordered lists.
This has been fixed now.
Aloha.Editor 0.24.17
Enhancement
The link plugin will now publish the event ‘aloha.link.remove‘ with PubSub when a link is removed.
Bugfix RT57814
format plugin: added missing smartcontentchange event after removing a formatting, which would eg. have the autoparagraph plugin not handling the resulting html code correctly. Now every click on the remove format button will produce a smartcontentchange event.
Bugfix
Panels added to the sidebar when activating blocks were
never removed from the sidebar, but were added again every time the
block was activated. This has been fixed now, panels will now be removed
before adding the panels of activated blocks.
Bugfix RT52589
highlighteditables plugin: When using nested editables, isModfied() would
sometimes detect a change although the content is untouched. This was due to
highlighteditables plugin, which previously didn‘t register the
aloha-editable-highlight css class as ephemeral.
Bugfix
The repository manager will now call markObject() on the repository only if a new object was selected from the repository.
If the already selected object is selected again, markObject() will not be called.
Bugfix RT57811
‘span‘ elements surrounding inline blocks set as ephemeral.
To be able to set the caret after inline blocks, empty ‘span‘ elements are added at the
beginning and the end of all inline blocks. When saving the page, these elements were saved too.
With this fix these ‘span‘ are ephemeral and are deleted once the page is saved.
These ‘span‘ elements are removed if the inline blocks are removed.
Bugfix RT57791
Text-color: a new span is created when setting color inside an editable span.
When formatting style inside an editable span, the style should not be include in the span style but in a new span.
Aloha.Editor 0.24.16
Bugfix
formatlesspaste plugin: The strippedElements config parameter was previously ignored and is now respected again.
If no configuration is specified for it, a default list of text level semantic elements is used.
Aloha.Editor 0.24.15
Bugfix RT57706
core: (Internet Explorer) When using the cursor keys to move the
cursor up and down across blocks (non editable areas) it was possible
to actually place the cursor inside the block. The cursor would be
trapped in this state and using the cursor up/down keys would scroll
the page up and down (with some strange rendering of the cursor).
This has been fixed now to prevent entering non editable areas with
the cursor.
Bugfix RT57711
link plugin: When typing the URL for a link and then pressing Enter,
it creates the link but you must click tow times to open the link
properties. The fix allows the user to click just once.
Aloha.Editor 0.24.14
Bugfix RT57686
table-plugin: (Firefox) Pressing tab in the last cell of last
row creates a row, but the cursor was placed outside the
table. With this fix the cursor is placed in the first cell of
the created row.
Aloha.Editor 0.24.13
Bugfix
align plugin: Setting alignment to content inside of a table cell
will no longer result in all of the content in the cell being
aligned, but only the content that is selected (up to the nearest
block-level element).
Bugfix RT57629
drag-n-drop: Dragging a block element into an non-editable region
resulted in a JavaScript error. This error caused HTML artifacts
to be left in the region. Fixing the JavaScript error corrects
this behavior.
Bugfix RT57725
copy-paste: Copy and paste text content from MS-Word to Aloha content
in IE9 Browser, added line break between paragraphs. When
copying from MS-Word unrendered whitespaces are added between
paragraphs and are rendered as lines break for Aloha Editor.
Removing these unrendered whitespaces solves the line break problem.
Bugfix RT57677
button tooltip: ‘Insert Table‘ button tooltip did not disappear when selecting
the rows and the columns of the table. This has been fixed so the tooltip does
disappear.
Aloha.Editor 0.24.12
Bugfix RT57660
core: Performances fixes introduced a regression which resulted
in pressing ENTER to break paragraphs incorrectly. This has been
fix so that pressing enter in an empty editable will result in a
new paragraph being inserted after rather than before.
Aloha.Editor 0.24.11
Enhancement
textcolor-plugin: The Textcolor plugin has had a complete overhaul to improve usability, and to fix bugs when changing color around complex markup.
Bugfix RT57224
- BUGFIX: core: An IE bug that caused editables to not be activated correctly upon the first mouseclick was resolved.
Previously the cursor position inside the editable was not set. The user had to click twice to place the cursor correctly. RT#
Aloha.Editor 0.24.10
Bugfix
table-plugin: Table selection for rows or columns in IE8 did not
show Table Row/Column panel options. This error is
fixed.
Aloha.Editor 0.24.9
Bugfix
image-plugin: The image plugin icons were fixed for IE7+
Bugfix RT57076
abbr-plugin: A missing i18n translation was added to the remove abbreviation button.
Aloha.Editor 0.24.8
Bugfix RT56973
blocks: The dragging and dropping of Aloha Blocks has been fixed to no longer use jQueryUi‘s sortable(). Aloha Editor‘s own functionality is to be used instead. This allows implementers to use sortable() to enable drag and drop for blocks which are inside of blocks that have been made draggable by Aloha Editor.
Aloha.Editor 0.24.7
Bugfix RT57176
Table Plugin: Clicking text inside a table cell doesn‘t make the whole cell content to be selected (only IE)
Aloha.Editor 0.24.6
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.
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.
Aloha.Editor 0.24.5
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.
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 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
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
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 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
rangy: Change rangy-core configuration property “preferTextRange” to false in order to allow for more performant ways to work with ranges in IE. Accommodations 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 RT55759
tables: Remove “width” attribute from copied tables.
Aloha.Editor 0.24.4
Bugfix
block plugin: Fix the error “Member not found” occurring when initializing a block with links in it. This error occurs on IE 10 compatibility mode with document mode 7.
Bugfix RT56692
paste plugin: Pasting will no longer always break the line. A wrapping element will no longer be created to contain the copy content.
Bugfix RT56670
header ids plugin: A header ID will now automatically be added as soon as the heading is created if the header id plugins is activated.
Bugfix RT56088
table plugin: The “scope“ attribute in TH elements will now be correctly set to “col“ instead of “column“. This attribute only accepts “col“ or “row” as values.
Aloha.Editor 0.24.3
Bugfix
tables: When selection is placed into table, all other tables will now have their visual selection removed.
Bugfix
tables: The Row and Column floating toolbar tabs will now be shown at the first click of a row or column.
Bugfix
tables: Selecting inside of tables will no longer results in sometimes having the selection deselected on mouseup in IE.
Bugfix
blocks: Blocks will immediately be given padding landing areas (if needed) as soon as they are inserted into active editables.
Bugfix
tables: It is now possible to click once and start editing table summaries.
Bugfix
tables: It is now possible to delete entire rows or columns using the delete key.
Aloha.Editor 0.24.2
Bugfix
Fix display of values after image-reset and improve the size-check of image-resizing
Bugfix
image plugin: Various fixes and improvements for resizing, cropping and resetting images have been added, to improve the cohesion between displayed values and actual sizes.
Bugfix
blockmanager: Fixed scripts in a block being executed, when getting its configuration.
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.
Bugfix
tables: The cell merge and cell split buttons are now correctly disable when not applicable in IE7 and IE8.
Bugfix
tables: Table functionality will no longer stop working when a table is moved from one editable into another.
Bugfix
tables: It is now possible to resize table headers (TH cells).
Bugfix
tables: Enable blocks that are inserted inside of tables to be draggable.
Aloha.Editor 0.24.1
Bugfix
blockmanager: Fixed scripts in a block being executed, when getting its configuration.
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.
Aloha.Editor 0.24.0
Feature
New drag behavior for block elements that permits drop the BlockElement virtually in any element and any level of the structure, providing a highlight element to know which element is selected to be the new container, or if the element is not suitable to be a container the highlighter element show the edges of the selected element to show that the block will be added before or after this one.
Aloha.Editor 0.23.26
Bugfix RT57176
Table Plugin: Clicking text inside a table cell doesn‘t make the whole cell content to be selected (only IE)
Aloha.Editor 0.23.25
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.
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.
Aloha.Editor 0.23.24
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.
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 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
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
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 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
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 RT55759
tables: Remove “width” attribute from copied tables.
Aloha.Editor 0.23.21
Bugfix
Bugfix
Bugfix
blockmanager: Fixed scripts in a block being executed, when getting its configuration.
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.
Bugfix
tables: The cell merge and cell split buttons are now correctly disable when not applicable in IE7 and IE8.
Bugfix
tables: Table functionality will no longer stop working when a table is moved from one editable into another.
Bugfix
tables: It is now possible to resize table headers (TH cells).
Aloha.Editor 0.23.20
Bugfix
blockmanager: Fixed scripts in a block being executed, when getting its configuration.
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.
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
table plugin: Merging table cells in IE8 will no longer result in the contents of merged cells from being lost.
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.
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 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)
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 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.
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
textcolor: The button for changing the textcolor can no longer be accidentally overwritten by custom background images.
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.
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
blocks: The floating toolbar will now be shown when clicking inside of editables that are nested inside of standalone Empty blocks.
Bugfix
ui: It is now possible to configure the toolbar to not float at all.
Bugfix
format: It is no longer possible to use formatting hotkeys to apply disallowed formatting in an editable.
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
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.
Aloha.Editor 0.23.12
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
core: Adding blocks and tables will no longer results in empty paragraphs being littered before the inserted element.
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.
Bugfix
wai-lang-plugin: Incluing the WAI Language plugin will no longer result in a JavaScript error during initialization.
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: 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
Adding blocks and tables will no longer results in empty paragraphs being littered before the inserted element.
Aloha.Editor 0.23.10
Enhancement
Filters the tags used in transformFormattings, extracting the tags setted in the elements allowed setting
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
The editable Class now publish the message aloha.editable.deactivated via PubSub
Bugfix
Empty tabs will no longer show on the toolbar
Bugfix
Merging table cells which contains will no longer result in the cell that was merged having unnecessary white spaces.
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
Textcolor button on toolbar not longer have style superposition when have styles applied to td or you have jquery-ui styles
Bugfix
The extra plugin headerids not longer result in duplicated id when have duplicated headers title
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
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.
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 no longer stalls when a configured plugin is disabled.
Bugfix
(core/pluginmanager) Initialization will complete and Aloha.ready() will fire even when no plugins have been configured.
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
(core/engine) It is made possible to completely delete the contents of an editable while editing using commands like CTL+A, DEL.
Bugfix
Cursor styles that are added inside tables for resizing are now correctly removed when the table is no longer editable.
Bugfix
A bug was fixed with additional elements being appended to a table, if a rowspan was set in its last column.
Bugfix
A problem was fixed that prevented table-cells to be selected after their header-status was changed.
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
Aloha.Editor 0.23.4
Bugfix
Added missing documentation for the Sidebar.
Bugfix
Characterpicker now opens in IE
Bugfix
Headerids plugin no longer changes ids of Aloha Editables, which was causing implementations to loose track of editables during saving of example.
Bugfix
naturalfit-button (reset) in table resize plugin did not remove width from table head (th) elements
Aloha.Editor 0.23.3
Bugfix
No longer automatically append
elements to block-level elements unless they are empty.
Bugfix
DOM-to-XHTML plugin: Fixed handling of closing angle brackets, which caused problems when these were included in attributes.
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
Characterpicker plugin: Fixed the error “Object [object Object] has no method ‘is‘” occuring, when clicking into an editable.
Bugfix
No longer remove the last arbitrary
element inside
Bugfix
Sidebar: Fixed the styles in some plugins, which looked a bit broken and moved some css styles to the core.css.
Aloha.Editor 0.23.2
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
Fixed the text selection background color not being removed when selecting something from the attribute field of 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
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
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
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.
Enhancement
jquery-ui and jquery.layout were upgraded
Enhancement
used hints from #749 to improve file size of icons
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.
Bugfix
table-plugin: Formatting a table row as header will now correctly set the scope of the header elements to refer to the column.
Bugfix
Fixes image path in css file in repository browser #764
Bugfix
link-plugin: Fix anchor class would always be set to cssclass even when cssclassregex was not configured
Bugfix
link-plugin: Fix metaKey + click doesn‘t follow link (still doesn‘t work on IE7)
Bugfix
core: when a placeholder was defined for an editable, a placeholder wrapper element was injected into all editables instead of only the editable the placeholder was defined for.
Bugfix
core: Aloha.settings.locale property was not honored.
Aloha.Editor 0.22.7
Feature
textcolor-plugin: Introducing the textcolor plugin, which will allow you to apply color to sections of text
Feature
table-plugin: Introducing table cell resize capabilities [table plugin](http://www.aloha-editor.org/guides/plugin_table.html) – Note: the feature is currently disabled by default.
Bugfix
table-plugin: Tables inside blocks will no longer be transformed into editable Aloha Editor tables.
Bugfix
table-plugin: Fixed the cursor problem with ie7. Now ie7 shows the system default arrows.
Bugfix
core: getEditableHost() returns nearest editable rather than the furthest.
Bugfix
blocks: Selecting with
Bugfix
ui: Floating toolbar will attempt to adjust is positioning to remain entirely in the viewport whenever possible.
Bugfix
core: Fixes numerous issues with repository manager including how query() and getChildren() handle immediate, and asynchronous repositories.
Bugfix
vendor/repository-browser: Updates repository browser with fix to not listing repository folders multiple times into wrong repositories on the tree.
Bugfix
core: Fixed disappearing attributes in browsers that do not support outerHTML.
Bugfix
link-plugins: Fixed inserting of links so that links that span multiple elements are not unnecessarily split into fragments.
Bugfix
image-plugin: Fix numerous bugs with resizing and cropping and improve overall usability
Aloha.Editor 0.22.6
Enhancement
documentation: Guides and documentation was improved for the validation plugin
Aloha.Editor 0.22.5
Feature
validation-plugin: Introducing [validation plugin](http://www.aloha-editor.org/guides/plugin_validation.html)
Bugfix
metaview-plugin: We now disable the metaview once the editable is deactivated.
Bugfix
core: Some i18n strings within some modal dialog buttons were fixed.
Bugfix
core: Fixed Aloha‘s initialization order to ensure that repositorymanager will be initialized before plugins are initialized.
Aloha.Editor 0.22.4
Feature
core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html
Enhancement
The metaview view can now be enabled per editable.
Aloha.settings = {
plugins: {
metaview: {
editables: {
‘#top-text‘: [‘metaview‘,‘enabled‘]
}
}
}
};
Enhancement
table plugin: IE fix - the selection of multiple cells was not possible when the selection started in the text; there was no workaround so it's now possible to select coherent cells when you "shiftclick” into the second cell of the range you want to select
Bugfix
formatlesspaste-plugin: Formatless Paste Plugin fixed to correctly process configuration settings.
Bugfix
table-plugin: Ensures that the range is maintained when clicking inside table cells.
Bugfix
the underline button didn‘t show up in the toolbar after adding the ‘u‘ in the format-plugin configuration.
Bugfix
All repositories have been queried even if a target repository has been spezified. Now only the spezified repository is queried.
Bugfix
core/aloha-links: Prevents yellow borders around aloha-links blocks
Bugfix
link-plugin: link scope remains active after the selection leaves an anchor element
Bugfix
blocks: The floating menu will appear when the editor double-clicks in an editable block.
Bugfix
core/selection: Aloha no longer inadvertently removes ranges that are outside of editables.
Bugfix
characterpicker: popup now follows the floating menu while scrolling
Bugfix
dom utils: fixes potential bug that may cause attributes with the slash ‘/‘ character in the name to appear in the result of getContents().
Bugfix
word content handler: Fixed handling of pasted MS Word content to not result in broken markup when the content contains tables with cells that are all empty.
Bugfix
core/plugins: Fixed plugin initialization to ensure that the “aloha-ready” event is not fired before all plugins have notified that they are fully initialized.
Bugfix
characterpicker & horizontalruler: Fixes icon styling to display correct images event when a user-specified jquery ui stylsheet is included in the page.
Bugfix
block-plugin: Fixed activation of correct block when active editable is changed using Keys (Tab, Shift-Tab) or programmatically.
Bugfix
block-plugin: Fixed handling of copy & paste in editables that are nested inside blocks. Before this fix, when pressing CTRL-C to copy the current selection in an editable nested inside a block, the whole block was selected and copied.
Aloha.Editor 0.22.3
Manual Change
Updated UI CSS regarding button selector;
Updated UI CSS regarding button selector;
Manual Change
Added a demo of placeholders to boilerplate;
Added a demo of placeholders to boilerplate;
Feature
improved translation export from gengo.com to Aloha Editor
Aloha.settings.plugins: {
captionedImage: {
allowLinebreak: [ 'p' ], // ['br', 'p'], true or false (default)
}
}
Feature
align-plugin: The align plugin is now capable of aligning table cell contents.
Feature
core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html
Feature
align-plugin: the align plugin is now capable of aligning table cell contents
Feature
table-plugin: table cells can now have individual classes like rows and columns
Enhancement
browser: The old browser plugin was removed. The browser-plugin was replaced by the repository browser vendor plugin.
Enhancement
RepositoryBrowser: The repository browser will now correctly handle localisation for the languages english and german.
Enhancement
Trigger the ‘aloha-smart-content-changed‘ event with `triggerType` = `block-change` whenever an attribute of an Aloha Block is changed.
Bugfix
table-plugin: Fixed a javascript error that occurred when pressing enter in the table wai attribute field.
Bugfix
Fix base tag breaks Aloha Editor UI
Bugfix
Fix calling mahalo in a blur event handler
Bugfix
Fix support for editable anchor elements
Bugfix
All repositories have been queried even if a target repository has been specified. Now only the specified repository is queried.
Bugfix
core/aloha-links: Prevents yellow borders around aloha-links blocks
Bugfix
link-plugin: link scope remains active after the selection leaves an anchor element
Bugfix
blocks: The floating menu will appear when the editor double-clicks in an editable block.
Bugfix
core/selection: Aloha no longer inadvertently removes ranges that are outside of editables.
Bugfix
added aloha-cleanme class to aloha-block-handle to prevent potential issues with temporary elements not being cleaned up.
Aloha.Editor 0.22.2
Feature
core: makeClean is in the process of being obsoleted in favor of the aloha/ephemera.js module. See http://aloha-editor.org/guides/writing_plugins.html
Bugfix
table-plugin: A javascript error was fixed that occured when removing the whole table.
Aloha.Editor 0.22.1
Feature
core: Added method Aloha.getEditableHost() to get the editable, that contains the given jQuery object.
Feature
repository browser: If one of the repositories runs into a timeout during query, the browser will now call the method handleTimeout().
Feature
abbr-plugin: We added a remove abbreviation button to make the functionality more consistent with the wai-lang plugin.
Feature
metaview: We now also display HR tags in the metaview. We also removed the dependency to the flag-icons plugin.
Feature
list-plugin: When transforming a list from ul to ol or back all sub elements that are selected are also transformed.
Enhancement
Aloha Editor will no longer annotate end
tags, which
are used to prop up empty block-level elements that would be
otherwise rendererd invisbly, with the “aloha-end-br” class.
This should result in cleaner markup.
Enhancement
Aloha Blocks will now publish a message on the channel “aloha.blocks.initialized” when a block is fully initialized.
Enhancement
The Block Plugin now allows you to configure your own root tags for block creation. Every time you create a new block, the block plugin will check if its root node is supported. You may now change the roots nodes and use your own list root tags. If you want to use Aloha Blocks drag‘n drop functionalities we strongly suggest that you do not use other root tags than div and span. See the guides at http://www.aloha-editor.org/guides/plugin_block.html for further information.
Bugfix
Rangy Core: Patches Rangy to include a workaround for html5shiv‘s
violation of document.createElement().
As detailed in this discussion:
https://github.com/aFarkas/html5shiv/issues/64: html5shiv monkey
patches the native document.createElement() function in browsers like
IE8 and older, which do no support HTML5. However, it does in a way
that seriously deviates from the contract that the native
document.createElement() function establishes, because it creates
elements which have non-null siblings and parentNode.
This violation causes Rangy to throw an exception in IE8 or IE7.
The workaround prevents this error by detaching the element that was
created via html4shiv‘s implementation of document.createElement() from
its parentNode, near the critical area of code where the exception
occurs.
Bugfix
Bugfix
Added missing icon for the block plugins toggledragdrop button
Bugfix
Moved call to execCommand(‘enableObjectResizing‘, false, false) to init method of editable. Otherwise, FF 15 (and above) will throw a JS error, if execCommand(‘enableObjectResizing‘, false, false) is called with no contenteditable elements found in the page.
Bugfix
Fixed Javascript error when doing searches in the repository browser (which caused to search to not be done).
Bugfix
characterpicker-plugin: Fixed a bug that when inserting a special character using the character picker plugin, the focus would be sometimes set to the start of the active editable (e.g. when inserting into a table cell).
Bugfix
listenforcer-plugin: Fixed a bug that would only mark the first editable matching a configured selector as an enforced editable. Also when leaving an editable, we now remove the added list properly.
Bugfix
core: Sometimes when putting the cursor at the first position of an editable, the cursor would vanish or be put outside the editable. This has been fixed.
Aloha.Editor 0.22.0
Manual Change
Updated UI CSS regarding button selector.
Updated UI CSS regarding button selector.
Manual Change
Added a demo of placeholders to boilerplate.
Added a demo of placeholders to boilerplate.
Feature
Bugfix
In the sidebar the panel entry for the format plugin was always shown; now when the formatOptions is empty the empty (useless) sidebar panel will be hidden.
Bugfix
Align Plugin button status was not shown correctly.
Aloha.Editor 0.21.4
Enhancement
Added labels to the image-plugin url, title, width, height input fields.This change also rearranges the order of image-plugin components in the toolbar.
Bugfix
Fixed the ContentHandlerManager to use the content handlers in the correct order.
Bugfix
Fixed clicking custom block handles activates the image plugin
Aloha.Editor 0.21.3
Enhancement
Added a new block implementation of Aloha Editor blocks, which
doesn‘t render any tag fill icons or borders. This is useful for
tags that should be editable with Aloha Editor.
To use this block type, just wrap your tag content in a
with the following attribute:
data-aloha-block-type=”EmptyBlock
Enhancement
An error was turned into a warning. The error message “encountered range object without start or end container” was incorrectly logged as an error instead of a warning.
Enhancement
repository-browser: The repository browser will now automatically increase its height.
Enhancement
Added jQuery method mahaloBlock() to “unblock“ the elements from a jQuery collection. Added method .unblock() for Blocks to “unblock” a block instance (in both cases without removing the DOM element from the DOM).
Bugfix
The sidebar didn‘t always update the height of panels correctly.
Bugfix
Fixed JS error in Aloha.unbind()
Bugfix
Fixed adding of unwanted ‘S before tables every time an editable was deactivated when the table plugin and block plugin was used.
Bugfix
Fixed selecting with keyboard or mouse in editables that are nested in blocks, when using the Internet Explorer.
Bugfix
Fixed block draghandles are sometimes missing
Aloha.Editor 0.21.2
Manual Change
Updated impress.js to work with jQuery UI
Updated impress.js to work with jQuery UI
Manual Change
Updated demo-app to work with jQuery UI; added simple system test to check file permissions;
Updated demo-app to work with jQuery UI; added simple system test to check file permissions;
Manual Change
Updated the guides for the contenthandler configuration;
Updated the guides for the contenthandler configuration;
Manual Change
removed not needed demo/test.html (was for testing per editable config)
removed not needed demo/test.html (was for testing per editable config)
Enhancement
link-plugin: Removed unwanted margins from the sidebar panel of the link attribute.
Enhancement
Addition to the API Aloha.Editable.setContentSerializer() was added to the API. Aloha.Editable.getContentSerializer() was implemented and added to the API.
Enhancement
pubsub/repository-browser: Upgrades the PubSub, and RepositoryBrowser dependencies.
Bugfix
Fixed block formatting (p, h1, ...)
To reproduce the error
- insert two paragraphs into an editable
“
Paragraph1
Paragraph2
”
- select both paragraphs and format them as h2
- click into the second paragraph and format as h3
The result before this fix would have been that in the last step both
paragraphs were formatted as h3.
Bugfix
block-plugin: Fixes problem in how droppable containers were being
determined while drapping blocks. The algorithm was miss-identifing
any container that had a
tags with the “aloha-end-br“ class as
an “empty” container, even if it contained other content along with
the propping
. We now use a stricter check to remove this false
positive.
Bugfix
Editable.getContents(true) doesn‘t make defensive copies. Invoking Editable.getContents(true) multiple times in a row would return the same object, causing unexpected behaviour when client code modified that object.
Bugfix
building/undo-plugin: The undo plugin was removed from the list of plugins that are included in the build process because it caused some silent javascript errors with content in frameset environments.
Bugfix
image-plugin: The reset image button function was fixed. Previously a javascript error occured when the button was pressed.
Bugfix
wai-lang-plugin: Language annotations were not enhanced. The short name (‘de‘) of language annotations was displayed instead of of the full name from the repository (‘German‘).
Bugfix
block-plugin: Selection was lost when using the cursor keys to move across inline blocks.
Bugfix
core: We now also remove jquery* attributes before the content is saved.
Bugfix
core: We now log a warning to the console if repositories run into timeouts.
Bugfix
wai-lang: We now load the language dataset in the query method. This fixes the issue that if the first request went wrong it was never loaded again.
Bugfix
sidebar: The sidebar now remembers the current selection and refreshes itself when it is being opened.
Bugfix
wordcontenthandler: Fixed the pasting of tables with empty cells.
Bugfix
wordcontenthandler: Fixed the pasting of lists in chrome and IE9.
Bugfix
In the sidebar the panel entry for the format plugin was always shown; now when the formatOptions is empty the empty (useless) sidebar panel will be hidden
Aloha.Editor 0.21.1
Manual Change
The API Method setActiveButton() of the MultiSplit component changed: the parameter must be the name of the button to set active, not the index.
The API Method setActiveButton() of the MultiSplit component changed: the parameter must be the name of the button to set active, not the index.
Manual Change
Changed the aloha-smart-content-changed event. The snapshotContent property provided bythe aloha-smart-content-changed event was replaced with the getSnapshotContent property which is a function that must be
called to retrieve the value that was provided by snapshotContent.This was done to make snapshotting of the editable contents optional, since it is a very expensive operation.
Feature
Toolbar configurability was extended. The now Aloha.toolbar.settings.tab[i].exclusive property was implemented. See the ui guide for more information.
Feature
UiPlugin API addition. UiPlugin.showToolbar() was added to the UiPlugin API. This function provides better control over when the toolbar is shown.
Feature
Aloha Blocks dropzones and configuration. Aloha Blocks now allow for additional configuration settings which allow you to disable the drag‘n‘drop functionality of blocks globally or for individual editables as well as defining customdropzones for each editable. See http://www.aloha-editor.org/guides/plugin_block.html#en-disabling-drag-drop-for-blocks for details.
Enhancement
Aloha Editor will now add the browser version to the html dom node (see http://www.aloha-editor.org/guides/core.html#initialization-process)
Enhancement
numerated-headers-plugin: Added a   to the annotation, to seperate it from the heading‘s text.
Enhancement
table-plugin: We now show the summary textarea in the sidebar if a click on the wai-image was issued.
Bugfix
Bugfix
Fixed the qUnit tests for following commands to work in IE 7/8/9, latest Firefox and Chrome.
- Bold
- Italic
- Subscript
- Superscript
- CreateLink
- Unlink
- Underline
- Strikethrough
- FormatBlock
- RemoveFormat
- Indent
- Outdent
- InsertOrderedList
- InsertUnorderedList
Bugfix
A debugger statement was removed.
Bugfix
Missing implementations to show and hide items in a multisplit button have been added.
Bugfix
Fixed some random and weird selection problems in IE7, where some actions (like Enter behaviour) were not performed on the correct cursor position. Sometimes there also occurred some JS errors.
Bugfix
Fixed Transforming an empty contenteditable into a list, which caused the contenteditable container to disappear.
Bugfix
Loading errors that occured when a second jQuery was loaded below aloha.js were fixed.
Aloha.Editor 0.21.0
Manual Change
Most plugins don‘t load their css files through require any more
Before this change, plugins loaded the necessary css automatically.
Now, it is necessary to include aloha/css/aloha.css to get the css
that is necessary to make plugins work.
Manual Change
The jquery requirejs dependency was renamed from aloha/jquery to just jquery.
define([‘aloha/jquery‘, function($) { });
must be changed to
define([‘jquery‘, function($) { });
Manual Change
Added the ui-plugin and removed ui specific code from the Aloha core
Due to a complete re-implementation of the Aloha user interface in
the form of the ui-plugin, most of the ui specific Aloha API has
changed.
- FloatingMenu – removed
- Aloha.ui – removed
Affects
Aloha.ui.AttributeField
Aloha.ui.Button
Aloha.ui.MultiSplitButton
Aloha.isMessageVisible
Aloha.hideMessage
Aloha.ui.MultiSplitButton.idCounter
Aloha.showMessage
Aloha.i18n
Plugin.i18n (has been deprecated for some time now)
- Aloha.Message – removed
- Aloha.settings.plugins.table.summaryinsidebar – meaning changed
This setting decided whether the summary was displayed either in
the side bar or in the floating-menu. This setting now only
decides whether or not a summary is displayed in the sidebar.
The table-plugin defines a component with the name
tableSummary. It is up to the toolbar configuration whether or not
this component is displayed in the toolbar.
- image-plugin – the following settings are obsolete
Aloha.settings.plugins.image.ui.oneTab
Aloha.settings.plugins.image.ui.insert
Aloha.settings.plugins.image.ui.meta
Aloha.settings.plugins.image.ui.reset
Aloha.settings.plugins.image.ui.align
Aloha.settings.plugins.image.ui.margin
Aloha.settings.plugins.image.ui.crop
Aloha.settings.plugins.image.ui.resize
Aloha.settings.plugins.image.ui.aspectRatioToggle
It is now up to the toolbar configuration whether or not and how
to display these components.
- Selection.isFloatingMenuVisible – removed
All settings associated with the removed components do not have any
effect any more.
Most Aloha css rules have been re-implemented.
In particular, the Aloha block handles now have z-index 10000, the
floating menu has 10100, and Aloha dialogs have 10200. The sidebar
continues to have a z-index of 999999999.
The new common/ui plugin is now required for the user interface to
be shown. This plugin is not loaded automatically. Most plugins
require a user interface and will fail to load if this plugin is not
configured to be loaded.
The requirejs plugins order! and jquery-plugin! have been removed.
Many plugins exposed buttons, attribute-field and multi-split-button
components as non-private members. For example, as in the case of
the cite plugin, buttons were pushed onto the exposed
multi-split-button of the Format plugin. Most of these exposed
components were removed.
The removal of the Ext.* namespace and the ExtJs css may
inadvertently affect the behaviour and display of any site that
includes Aloha.
In particular the trim() function on the String object was provided
by ExtJs for older versions of IE. Since ExtJs is gone, calling this
function will now probably cause errors on older versions of
IE. jQuery.trim() may be used as an alternative.
See the ui.html guide for more information about the new UI.
Manual Change
The jQuery loaded by Aloha no longer performs a call to $.noConflict.
The combined and minified aloha-full.js will contain the call to
$.noConflict to preserve behaviour with earlier Aloha builds
The combined and minified aloha-bare.js, or the unminified and
uncombined form used during development, will not contain the call
to $.noConflict.
Aloha now loads jQuery asynchronously, unless the user passes in a
jQuery instance himself. It is difficult to predictably call
$.noConflict after loading jquery asynchronously – the global jQuery
and $ variables may or may not be set to the jQuery loaded by Aloha
for some time after loading has finished, resulting in possibly
unpredictable behaviour if multiple jQuery instances are used.
It is up to the user to load jQuery, call noConflict himself, and
pass jQuery into Aloha via Aloha.settings.predefinedModules or
Aloha.settings.jQuery.
Manual Change
The following jQuery extensions were removed
jQuery.isBoolean – Instead consider typeof x === ‘boolean‘.
jQuery.isEmpty
Manual Change
The default jQuery version distributed with Aloha was updated from 1.6.1 to 1.7.2.
The jQuery.isNumeric extension added to jQuery by Aloha was removed
to account for jQuery‘s own isNumeric function added in 1.7.
Manual Change
The browser plugin was removed
The browser plugin is obsolete. Please see linkbrowser and
imagebrowser plugins.
Manual Change
Several files have been removed
src/lib/aloha/extalohatreeloader.js
src/lib/aloha/uibrowser.js – src/lib/aloha/ecma5.js
These files are not in use by any of the main Aloha plugins and as
such are deemed obsolete. These files were never loaded and their
removal should not have any side-effect.
Custom plugins should be checked for a possible dependency on these
files.
Manual Change
baseUrl and data-aloha-plugins attribute detection changed slightly
This change can be ignored if aloha.js is loaded in a page where
only a single script element refers to a file with this name and if
this script include is also the one carrying the data-aloha-plugins
attribute, and no other script include is carrying this attribute – this should normally be the case. If this is not the case, aloha may
not load correctly due to this change.
The exact rules are now as follows:
If Aloha.settings.baseUrl is not specified, it will be taken from
the first script element that has a data-aloha-plugins attribute,
or, if there is no such script element, the first script element of
which the src attribute matches /\/aloha.js$/.
If Aloha.settings.plugins.load is not specified, it will be taken
from the data-aloha-plugins attribute of the first script element
carrying this attribute.
Manual Change
HotKey for inserting links is changed back to ctrl+k like documented here:
https://github.com/alohaeditor/Aloha-Editor/blob/dev/doc/guides/source/core_hotkey.textile
Manual Change
Properties exposed by Aloha.Selection or aloha/selection were changed
- tagHierarchy – replacingElements – allowedToStealElements
These properties are now maps of maps instead of maps of lists.
Manual Change
Aloha.define was removed as it didn‘t serve any purpose
Aloha.define was removed as it didn‘t serve any purpose
Manual Change
The jquery.store and jquery.json plugins have been removed
The jquery.store plugin was used for persisting the floating menu
position and pinned state. The functionality provided by
jquery.store has been replaced with amplify.store.
The jquery.json plugin has been removed since the functionality
provided by this module is already provided by util/json2.
This also fixes the problem that pinning the floating menu was not
persisted in IE8 and below.
Manual Change
requirejs is not loaded as part of Aloha-Editor
For aloha development the user must now load requirejs himself
before loading aloha.js.
When using a built version of Aloha, it‘s possible to choose between
aloha-bare.js, which doesn‘t include requirejs (or jQuery), and
aloha-full.js, which does include requirejs (and jQuery).
Manual Change
The Aloha.requirePaths property has been removed.
The Aloha.requirePaths property has been removed.
Feature
Added hotkey functionality.
Feature
Added Aloha.settings.plugins.load to load plugins also via config
Feature
plugin extra/proxy: as multiple plugins need a proxy script to access external resources there‘s now one for all to use
Feature
The images browser plugin was added.
Enhancement
Enhancement
Updated naming from Aloha to Aloha Editor in boilerplate demo.
Enhancement
Aloha specific css rules that are not in use any more were removed:
.aloha-editable-zerowidthfix
.aloha-logo
.aloha-maximize
Enhancement
It‘s now possible to deactivate the transformFormattings method in the genericcontenthandler with the following setting:
Aloha.settings.contentHandler.handler.generic.transformFormattings = false
By default the transformFormattings method is enabled.
Enhancement
The vie plugin was removed
Enhancement
block plugin: It is now possible to navigate with arrow keys when there are blocks.
Enhancement
block plugin: Aloha Block Plugin has now been greatly cleaned up and improved. Besides greatly cleaned up API and documentation, the new features include Drag/Drop, Deletion and Copy/Paste support. Now fully cross-browser (IE7, IE8, IE9, Chrome, Firefox).
Enhancement
core: The jquery-plugin require plugin will now be able to return loaded plugins. Previously loaded plugins were just accessible through the extended jquery object.
Enhancement
image plugin: splitting main fat file (1500 lines) for easying maintenance and evolutions. The new file which contains the gui is called ‘image-floatingMenu.js‘. The all sources of the image plugin were jslinted.
Enhancement
image plugin: abstracting ui calls and removing FloatingMenu dependency from main plugin file
Enhancement
image plugin: new method getImgFocus used in place of findImgMarkup which is pointless now
Enhancement
core: #448 Aloha Editor possibility to be loaded as requireJS module
Enhancement
browser: commenting some methods and coding guidelines
Bugfix
abbr-plugin: Fixed a javascript error when Aloha.activeEditable.obj / Aloha.activeEditable was not defined
Bugfix
fixing placeholder bug where it appears twice in some cases
Bugfix
commands.delete: fixed a bug with the delete command when contents are preceded by ignorable whitespace. also added a delete test for that.
Bugfix
image plugin: building a selection from scratch when an image is clicked isn‘t safe as conflictual browser behaviours
Bugfix
image plugin: containing editable not selectable after image plugin activation.
Bugfix
image plugin: when plugin activated on an image, clicking a second image don‘t disable resize on first one.
Bugfix
image plugin: fixing focus and value of srcField when image is clicked (previously handled by selectionChange)
Bugfix
fixes alohaeditor/Aloha-Editor##424 — SmartContentChanged is not triggered when hitting
Bugfix
browser: fixes alohaeditor/Aloha-Editor#415 — Repositorie entries appears twice in explorer
Bugfix
browser: fixes alohaeditor/Aloha-Editor#460 — Error when multiple repositories are configured
Bugfix
block sidebar attribute editor: when using backspace/del in an input field the block was removed
Bugfix
cite-plugin: Fixed a javascript error when the cite plugin had no explicit sidebar configuration.
Bugfix
headerids-plugin: Fixed a bug in the headerids plugin that the ids were not generated when the getContents was called.
Bugfix
numerated-headers-plugin: Fixed a bug in the numerated-headers plugin, that the selection was not properly updated when the annotations were removed.
Bugfix
core: Fixed that sanitizing was not executed for IE7 because of an error with modifying style attributes in IE7. We now execute sanitizing, but ignore style attributes.
Bugfix
core: Added the removal of sizzle attributes to the basic content handler.
Bugfix
core: We now catch an exception that is thrown when the selection is not properly updated. This exception would lead to unexpected behaviour.
Bugfix
core&numerated-headers-plugin: Fixed that sometimes DOM INDEX EXCEPTIONS occured when formating a list of paragraphs.
Aloha.Editor 0.20.24
Feature
metaview: We now also display HR tags in the metaview. We also removed the dependency to the flag-icons plugin.
Feature
list-plugin: When transforming a list from ul to ol or back all sub elements that are selected are also transformed.
Feature
core: Added method Aloha.getEditableHost() to get the editable, that contains the given jQuery object.
Feature
repository browser: If one of the repositories runs into a timeout during query, the browser will now call the method handleTimeout().
Bugfix
characterpicker-plugin: Fixed a bug that when inserting a special character using the character picker plugin, the focus would be sometimes set to the start of the active editable (e.g. when inserting into a table cell).
Bugfix
listenforcer-plugin: Fixed a bug that would only mark the first editable matching a configured selector as an enforced editable. Also when leaving an editable, we now remove the added list properly.
Bugfix
floatingmenu: Fixed a bug in the floating menu that the position would not be adjusted if the height of the floating menu changed. This is needed in the topalign mode to not hide parts of the editable.
Bugfix
core: Sometimes when putting the cursor at the first position of an editable, the cursor would vanish or be put outside the editable. This has been fixed.
Bugfix
abbr-plugin: A possible dereference error was fixed in the plugin.
Aloha.Editor 0.20.23
Enhancement
changed loading procedure of languages in wai lang plugin from AJAX to require.js
Bugfix
resolved issue with opening the sidebar when clicking on table WAI button.
Aloha.Editor 0.20.22
Enhancement
link-plugin: Removed unwanted margins from the sidebar panel of the link attribute.
Bugfix
Fixed block formatting (p, h1, ...)
To reproduce the error
- insert two paragraphs into an editable
“
Paragraph1
Paragraph2
”
- select both paragraphs and format them as h2
- click into the second paragraph and format as h3
The result before this fix would have been that in the last step both
paragraphs were formatted as h3.
Bugfix
core: We now also remove jquery* attributes before the content is saved.
Bugfix
core: We now log a warning to the console if repositories run into timeouts.
Bugfix
wai-lang: We now load the language dataset in the query method. This fixes the issue that if the first request went wrong it was never loaded again.
Bugfix
sidebar: The sidebar now remembers the current selection and refreshes itself when it is being opened.
Bugfix
wordcontenthandler: Fixed the pasting of tables with empty cells.
Bugfix
wordcontenthandler: Fixed the pasting of lists in chrome and IE9.
Aloha.Editor 0.20.21
Manual Change
Changed the aloha-smart-content-changed event
The snapshotContent property provided bythe
aloha-smart-content-changed event was replaced with the
getSnapshotContent property which is a function that must be
called to retrieve the value that was provided by snapshotContent.
This was done to make snapshotting of the editable contents
optional, since it is a very expensive operation.
Enhancement
numerated-headers-plugin: Added a   to the annotation, to seperate it from the heading‘s text.
Enhancement
table-plugin: We now show the summary textarea in the sidebar if a click on the wai-image was issued.
Bugfix
Fixed IE7 mode paragraph margin
The problem is that with a DOM like the following:
```html
```
The margin between the paragraphs will not take effect because
IE8 in compatibility mode considers the paragraph with the ```
```
in it empty. Normal IE8 will render the margin.
To make IE8 in compatibility mode render the margin, some content
must be put into the ```
```. That is not a big problem, since there
usually should be no reason to have empty paragraphs in your
content.
However, if the content is entered by hand (if it is not there to
begin with) then the margin will not be immediately updated. Only
when, after entering some content into the first paragraph, the
selection is put into the second paragraph, will the margin be
updated.
Although I don‘t see an easy workaround for the first problem
(that the margin is not displayed when the paragraph is empty)
there is an easy workaround for the second problem (that the
margin isn‘t updated even after some content has been
entered). The workaround is simply, when some content is entered,
to insert and remove an arbitrary DOM node into the second
paragraph, which will force IE to re-render the paragraph.
Problem was verified to exist on IE7 and IE8 in compatibility
mode with IE7 document type. May also exist in other IE7 modes.
Bugfix
Fixed some random and weird selection problems in IE7, where some actions (like Enter behaviour) were not performed on the correct cursor position. Sometimes there also occurred some JS errors.
Bugfix
Fixed Transforming an empty contenteditable into a list, which caused the contenteditable container to disappear.
Bugfix
headerids-plugin: Fixed a bug in the headerids plugin that the ids were not generated when the getContents was called.
Bugfix
numerated-headers-plugin: Fixed a bug in the numerated-headers plugin, that the selection was not properly updated when the annotations were removed.
Bugfix
core: Fixed that sanitizing was not executed for IE7 because of an error with modifying style attributes in IE7. We now execute sanitizing, but ignore style attributes.
Bugfix
core: Added the removal of sizzle attributes to the basic content handler.
Bugfix
core: We now catch an exception that is thrown when the selection is not properly updated. This exception would lead to unexpected behaviour.
Bugfix
core&numerated-headers-plugin: Fixed that sometimes DOM INDEX EXCEPTIONS occured when formating a list of paragraphs.
Aloha.Editor 0.20.20
Bugfix
core: An Internet Explorer 7 crash fix was fixed. Previously the fix caused the whole content to be selected for a short period of time when appling inline format elements.
Bugfix
core: An issue that resize handles were displayed on inline elements that contained a new lines in IE7/8 was fixed.
Aloha.Editor 0.20.19
Bugfix
cite-plugin: Removal of a cite specific data attribute caused a crash in Native Internet Explorer 7. The removal will now be skipped for Native Internet Explorer 7.
Aloha.Editor 0.20.18
Enhancement
cite-plugin: Fixed cite plugin DOM element attributes. It is not needed to add attributes to blockquote and q tags unless you have defined a referencecontainer.
Enhancement
contenthandler: Modified contenthandlers to allow language annotations made by the wai-lang plugin. This enables copy & paste of language annotations.
Enhancement
list-plugin: Some internet explorer specific attributes (hidefocus, tabindex) will now be removed on makeClean.
Enhancement
wai-lang-plugin: The plugin now supports both ISO-639–1 (two letter) and ISO-639–2 (three letter) language codes. The languages can be searched in english or german (depending on the user‘s locale). Additionally, it is now possible to switch on/off the display of country flags when searching for language codes.
Bugfix
format-plugin: removeFormat for quote and others (#577); enabled the useage of the u element (#580)
Bugfix
core: Fixed copying of attributes when transforming DOM objects into other DOM objects (e.g. when transforming a list into a paragraph), which caused strange attributes to be written in IE, that caused editing problems (e.g. could not set cursor into paragraph, etc.)
Bugfix
core: A basic content handler was added to the core that will cleanup the dom and html that gets processed by the getContents method. Currently this basic contenthandler is used to remove attributes (tabindex, hidefocus, contenteditable) that were added when using the Internet Explorer.
Bugfix
repository-browser: Some images for the repository browser were changed because Internet Explorer 7+8 don‘t know how to handle alpha in PNGs.
Bugfix
repository-browser: Columns that are not sortable will now no longer be displayed like they were sortable.
Bugfix
formatlesspaste-plugin: Fixed javascript error that ocurred when no custom editable configuration was set
Bugfix
dom-to-xhtml-plugin: When used in IE7 (or IE8 in IE7 mode), classes of elements were removed. This lead to unexpected behaviour with the BR-tags with class aloha-end-br, that are automatically added, when using the blockelementcontenthandler.
Bugfix
characterpicker-plugin: Fixed inserting a special character with a collapsed selection, when using IE.
Bugfix
table-plugin: Enabled proper selection (with mouse or keys) in the editable caption of a table.
Bugfix
table-plugin: When the contents of a table cell gains the focus, the whole cell is no longer selected. This also affects applying format to contents of a table cell.
Bugfix
table-plugin: New Captions are now added as first child of the table (before the tbody), according to the HTML5 specification.
Bugfix
table-plugin: The table plugin will now remove table id‘s on cleanup.
Bugfix
table-plugin: Fixed the removal of the aloha-table-cell_active once a table gets deactivated.
Bugfix
numerated-headers-plugin: Fixed error that annotations would not be removed when converting a header to a paragraph. The plugin also added leading spaces to the heading‘s text. This was removed.
Bugfix
linkbrowser-plugin/numerated-headers-plugin: A bug in the numerated headers plugin caused a javascript error when the linkbrowser window should be closed. This bug was fixed and the linkbrowser window closes now propely.
Bugfix
wai-lang-plugin: We now remove data attributes generated by the repository on makeClean and we add an xml:lang attribute with the value of the lang attribute.
Bugfix
wai-lang-plugin: The key combination ctrl+i caused a javascript error in IE8 when using the wai-lang-plugin together with the link plugin. This javascript error was now fixed.
Bugfix
metaview-plugin: Modified CSS for language annotations to always show a generic icon for language annotated spans.
Bugfix
metaview-plugin: language annotations would result in background images being repeated over and over again – fixed that problem.
Bugfix
cite-plugin: Fixed editing of saved citation links.
Bugfix
cite-plugin: The css animations for the cite plugin were removed because they were poluting the dom with style attributes.
Bugfix
Fixed trailing comma in array literal.
Aloha.Editor 0.20.17
Enhancement
contenthandler plugin: A new Blockelement Content Handler has been added, that handles breaks in blockelements upon initialization and getContents
Enhancement
draganddropfiles: A security issue with the upload.php example file was found. The example will no longer be executable by default.
Bugfix
core: The implementation for adding br-Tags in Blockelements has been fixed to realize a more consistent behaviour across all browsers and also with the metaview plugin turned on.
Aloha.Editor 0.20.16
Enhancement
numerated-headers plugin: Added configuration option ‘trailingdot‘ to switch format of generated headers.
Bugfix
numerated-headers plugin: Fixed misleading interpretation of the ‘numeratedactive‘ for configuration per editable. ‘numeratedactive‘ will now only determine, whether headers shall be numerated by default (if button not unclicked by the editor). To disable the function for an editable, choose an empty ‘headingselector‘.
Bugfix
numerated-headers plugin: Fixed numeration, when the headers are not starting with the highest level (e.g. when using h2 h1 h2 h3, the first h2 will be omitted and numeration will start at the h1)
Bugfix
core: fixed missing space when selecting a word between two spaces and deleting (by [DEL] or [BACKSPACE]). The result will now be like expected: having the cursor between two spaces.
Bugfix
characterpicker-plugin: Fixed inserting characters with a non-collapsed selection. Instead of adding the character after the selection, the inserted character will now replace the selection (like expected).
Bugfix
paste-plugin: Disabled handling paste on IE by executing the command ‘paste‘, because this causes incorrect cursor positions after pasting.
Bugfix
paste-plugin: Fixed setting focus and selection into the editable before inserting pasted html. That fixes strange behaviour in FF after pasting.
Aloha.Editor 0.20.15
Bugfix
core: Fixed browser crashes in IE9 (and above), after splitting DOM nodes using ENTER and placing the cursor afterwards, that occurred due to a browser bug in IE9
Aloha.Editor 0.20.14
Enhancement
A whole lot of Plugins can now be configured editable-specific configuration: abbr, highlighteditables, list, horizontalruler, link, paste, headerids, listenforcer, metaview, numerated-headers, wai-lang, cite, characterpicker, formatlesspaste, dom-to-xhtml. Have a look at the individual plugin guides for detailed information on how to configure them.
Enhancement
Added functional description for plugins
Enhancement
plugin numerated-headers: will now be more tolerant with its configuration options
Enhancement
sanitize contenthandler: Added ‘del‘ as allowed element to the default configuration of the sanitize contenthandler.
Enhancement
repository browser: searches in the repository browser will now be done recursively.
Enhancement
plugin formatlesspaste: will now be more tolerant with the button and formatlessPasteOption setting and not only accept boolean values
Enhancement
plugin cite: will now be more tolerant with the sidebar.open setting and not only accept boolean values. Additionally, the default config will now show both the quote and blockquote button.
Bugfix
core: When using the delete button in IE7, so that after deleting the cursor is supposed to be in between two spaces, some unexpected text “undefined” was added to the editable. This has been fixed now.
Bugfix
metaview: Fixed bug that caused a javascript error when no configuration was provided for the metaview plugin.
Bugfix
core: Fixed a bug within jquery that caused problems in IE9 when invoking getContents for an editable that contains an embedded object (e.g. flash player).
Bugfix
FloatingMenu: in IE the FloatingMenu would not be clickable after deleting a table row because of a transparent .ext-shim iframe layered on top of it. Forcefully removed the iframe from the layout.
Bugfix
FloatingMenu: in IE the FloatingMenu would not be clickable after deleting a table row because of a transparent .ext-shim iframe layered on top of it. Forcefully removed the iframe from the layout.
Bugfix
repositorymanager: Fixed a bug in the repository manager that caused an javascript error when no result items were passed to the processResults method.
Bugfix
generic contenthandler: Do not trim text nodes in list elements, because this could remove spaces between words, where one word is formatted.
Bugfix
plugin format: The format plugin will now support ‘del‘ instead of ‘s‘ for strikethrough (‘s‘ is deprecated), like explained in the documentation.
Bugfix
plugin metaview: Metaview plugin would add a grey backdrop to lists on IE7. Added more specific styles.
Bugfix
core: Implemented deleting tables with “delete“ or “forwarddelete” commands (pressing [DEl] or [BACKSPACE]).
Bugfix
core: Fixed strange cursor behaviour when using [BACKSPACE] to delete the first character in a text node, using IE9.
Bugfix
enumerated-headers plugin: Added default configuration, which fixes some javascript error, if no other configuration is set.
Bugfix
wai-lang plugin: Fixed toggle button to be pressed when a language is set, and unpressed if not. Hide language tab, when language is removed.
Aloha.Editor 0.20.13
Enhancement
Removed unwanted behaviour from the block plugin‘s sidebarattributeedtior, which will clear out the whole sidebar when loaded
Enhancement
added / updated guides for plugins
Enhancement
enabled linklist.js so it‘s possible to use the settings for your own list (removed the default entries)
Enhancement
table plugin: enabled format tab when a whole row/column is selected via click on the row/column header
Enhancement
sanitize contenthandler: allow attribute target for the a element in the relaxed config
Enhancement
plugin highlighteditables: configurable per editable; CSS can be adapted;
Enhancement
added a new helper function jQuery.isEmpty() to check if a mixed var is empty or not
Enhancement
A whole lot of Plugins can now be configured editable-specific configuration: abbr, highlighteditables, list, horizontalruler, link, paste, headerids, listenforcer, metaview, numerated-headers, wai-lang, cite, characterpicker, formatlesspaste, dom-to-xhtml. Have a look at the individual plugin guides for detailed information on how to configure them.
Enhancement
Added functional description for plugins
Enhancement
core: The getEditableConfig will now also return the selector within the configuration object. This only applies to custom editable configurations that provide objects instead of arrays since arrays can‘t be extended with custom properties. The returned object will now also contain nested arrays. Previously nested arrays were omitted.
Bugfix
core: Fixed the fix for IE7 crashes
Bugfix
core: Fixed Javascript errors that occurred in IE7 when pressing Enter at the end of paragraphs (multiple times).
Bugfix
core: Fixed possible Javascript error when cleanup operation is done (e.g. after pasting text into an editable).
Bugfix
commands: Fixed possible browser hang (due to an infinite loop) that occurred, when using the command ‘inserthtml‘ to insert content into an editable span, that is not allowed inside a span (e.g. a h1). This browser hang could occur when using the paste plugin to paste content, since that uses the command ‘inserthtml‘.
Bugfix
generic contenthandler: Changed to always remove div, span and font tags, regardless of the setting of the contentEditable attribute. This fixes problems, when e.g. having an editable span and then pressing [CTRL-A] [CTRL-C] [CTRL-V].
Bugfix
commands: Fixed unwrapping of tags in fixDisallowedAncestors, which possibly removed the editing host when pasting into spans, h1, ...
Bugfix
sanitize contenthandler: disabled for IE7, because it does not work well in IE7 (sanitize tries to set attributes via setAttributeNode() to DOM Elements, and this does not work for the “style” attribute in IE7)
Bugfix
commands: fixed weird behaviour when using the backspace key to delete text (cursor was jumping).
Bugfix
core: Fixed enter behaviour in lists. Before executing command “insertparagraph”, whitespace textnodes around list elements are removed, because the algorithm isn‘t prepared to handle whitespace textnodes.
Bugfix
citation plugin: Fixed javascript errors on initialization and possible endless loop when adding inline citations.
Aloha.Editor 0.20.12
Manual Change
wai-lang: The wai lang plugin will now fail loading when the flag-icons plugin was not loaded. Previously the plugin did not fail loading but showed broken flag icon images. Please note that it is currently mandatory to add third party dependencies for some plugins to the data-aloha-plugins attribute otherwise those dependencies can‘t be resolved correctly.
wai-lang: The wai lang plugin will now fail loading when the flag-icons plugin was not loaded. Previously the plugin did not fail loading but showed broken flag icon images. Please note that it is currently mandatory to add third party dependencies for some plugins to the data-aloha-plugins attribute otherwise those dependencies can‘t be resolved correctly.
Bugfix
browser-plugin: The browser will now open at a more centered position.
Bugfix
core: A IE7 crash workaround was reverted because it caused all eventhandlers to be lost when getContents() was invoked. The new workaround will remove the jquery expando attributes in IE7 for some elements.
Bugfix
core: Fixes bugs in the handeling of delete and forward delete. These bugs were introduced in an attempt to fix issues with deleting behaviour near multiple white spaces. An alernative should be sought for a better solution for handeling white spaces.
Aloha.Editor 0.20.11
Feature
plugin: Adding the sourceview plugin, which visualizes the current selection in the sidebar to help developers of Aloha Editor with debugging.
Enhancement
link plugin: removed linklist (and slowlinklist) which where loaded by default (we should not force everyone to have them active by default)
Enhancement
browser-plugin: The browser plugin will now calculate the browser width automatically.
Enhancement
Removed unwanted behaviour from the block plugin‘s sidebarattributeedtior, which will clear out the whole sidebar when loaded
Bugfix
image plugin: fixes distorted images when in portrait format
Bugfix
table plugin: fixes bug in IE7 that second click on table cell was not activating the table
Bugfix
browser-plugin: In some cases a javascript error would be thrown when using the browser plugin with Internet Explorer. IE does not support ‘new Image‘ calls within popups.
Bugfix
browser-plugin: In some cases a javascript error would be thrown when using the browser plugin with Internet Explorer. IE does not support ‘new Image‘ calls within popups.
Bugfix
IE7 - #516 navigate with arrow keys through several paragraphs
Bugfix
IE7 - #515 gray text after list
Bugfix
floatingmenu: Fixed regeneration of ext components for floatingmenu, when buttons are added after the floatingmenu was initialized
Aloha.Editor 0.20.10
Bugfix
core: Fixed a typo in the previous bugfix: Fixed a javascript error in IE9 stating that the method createContextualFragment doesn‘t exist
Aloha.Editor 0.20.9
Enhancement
updated integration of Aloha Blocks to the most recent version
Bugfix
block-plugin: Fixed ‘e.srcElement is undefined‘ error in blockmanager.js which affected firefox 11
Bugfix
floatingmenu: Fixed problem with creating new buttons after Aloha is ready.
Bugfix
floatingmenu: Fixed problem with showing floatingmenu shadow too early
Bugfix
core: Fixed a permission error in Firefox, when Aloha Editor tried to access a document property of an external ressource
Bugfix
table-plugin: Fixed the cleanup of the table cells on blur not cleaning up correctly (caused by a typo in the element class)
Bugfix
core: Fixed a javascript error in IE9 stating that the method createContextualFragment doesn‘t exist (fixed in extjs)
Aloha.Editor 0.20.8
Feature
core: It is now possible to place the caret between two adjecent non-contenteditable elements.
Feature
editable.js: introduced method setContents() - use Aloha.getEditableById('myeditable‘).setContents(‘Aloha World‘) to set the contents of the editable with the ID my-editable
Feature
hints plugin: Implemented using Tipsy as tooltip library and the latest Aloha-Editor plugin standard.
Feature
API docs: added first version of new API docs
Feature
HotKey feature added for link, format and wai-lang plugin
Enhancement
core: Improved efficiency of cursor processing, especially around blocks.
Enhancement
core: The jquery-plugin require plugin will now be able to return loaded plugins. Previously loaded plugins were just accessible through the extended jquery object.
Enhancement
enabled image plugin in boilerplate demo. needs some enhancements to be more user friendly
Enhancement
block plugin: added data-attribute to prevent triggering scope changes when a block is activated
Enhancement
block plugin: revamped colors for highlighting blocks
Enhancement
config options per editable for plugin common/horizontalruler and extra/toc
Enhancement
configure the sidebar handle position via Aloha.settings.sidebar.handle.top
Enhancement
table plugin: disable split / merge cell buttons when not possible to use
Enhancement
dom-to-xhtml plugin: non-specified attributes are excluded from serialization, making attribute serialization more consistent on IE7 and IE8.
Enhancement
load plugins via config option
Enhancement
Added very simple example for loading Aloha Editor. Simplyfied “Using Aloha Editor” guides page.
Enhancement
adding documentation about Aloha Editor events
Bugfix
core: UP and DOWN cursor key will now not be processed specially by Aloha, they will be left to native handeling.
Bugfix
core: Adds a guard in `execCommand()‘ to prevent `INDEX_SIZE_ERR‘ exceptions.
Bugfix
core: The cursor processing around non-contenteditable elements (blocks) was not functioning as described or desired. It now behaves with more stability especially on Internet Explorer.
Bugfix
smartContentChange is now again triggered when pressing enter key; and new: delete / backspace keys
Bugfix
align plugin: Fixed alignment behavior and place the buttons in the format tab instead of a new one.
Bugfix
updated dom.js to reflect HTML5 spec changes; format with u and i tags is now available; updated default button config
Bugfix
added missing endprologue. and regenerated guides; jslint for image plugin
Aloha.Editor 0.20.7
Bugfix
link: fixed a bug in the link list static repository plugin that would cause aloha to fail when no settings for the linklist repository were specified.
Bugfix
formatlesspaste plugin: fixed IE syntax error caused by a comma at the end of a list.
Aloha.Editor 0.20.6
Enhancement
Added jslint setup to guides and fixed error output in build script.
Enhancement
The new plugin dom-to-xhtml attempts to create a valid XHTML serialization of the document when getContents() is called.
Enhancement
Repositories: It is now possible to configure the timeout for querying repositories.
Enhancement
Floating menu: It is now possible to configure the floating menu to be ‘append‘ to an other element. It is needed to set an extra option ‘element‘ with the ID of the HTML DOM element where the fm should be attach to. The floating menu is attached to the same position as the ‘element‘.
Enhancement
Floating menu: If the floating menu is set to be not draggable, the drag&drop bar + pin will not be shown
Enhancement
updated plugin: table of contents (toc) to work with the current Aloha Editor version
Enhancement
Browser plugin: loading of required jQuery plugins is now changed so all can be loaded via CDN
Bugfix
link: fixed a bug in the link list static repository plugin that caused Internet Explorer to fail handling repository links.
Bugfix
dom-to-xhtml plugin: fixed attribute names are not lowercased
Bugfix
floatingmenu: fixed floating menu‘s reading of configuration values so that they are parsed into numbers.
Bugfix
floatingmenu: fixed floating menu positioning when view port is scrolled so that it takes into account the aligntopOffset setting.
Bugfix
Paste plugin: paste into an editable in an editable is now working
Bugfix
Selection of content in an contenteditable=false which is not a child of an Aloha Editor instance now works like expected
Bugfix
engine.js: insert paragraph was sometimes broken in IE7 (copy of empty/all p-element attributes)
Bugfix
characterpicker plugin: fixed cursor position after inserting a character
Aloha.Editor 0.20.5
Enhancement
word contenthandler: cleanup for pasted word documents with table of contents
Enhancement
cite plugin: config option if sidebar should auto open or not (Aloha.settings.plugins.cite.sidebar.open: true|false)
Bugfix
paste plugin: removed trim of pasted contents — test[ text] + 2x c&p results now in test text text instead of testtexttext
Bugfix
format/table plugin: added a workaround in the format plugin to enable formating of selected cells
Bugfix
The link plugin won‘t use a scope but will now hide/show it‘s buttons directly.
Bugfix
Fixed the way the table plugin unwrapped it‘s cell contents when deactivating a table – all dom object references where lost before. Now the objects are truly unwrapped, and just moved up one step within the dom structure.
Aloha.Editor 0.20.4
Bugfix
core: fixed IE7 browser crash caused by dereferencing element attributes.
Bugfix
floatingmenu: Fixed positioning of floating menu when it extends beyond the width of the viewport
Aloha.Editor 0.20.3
Bugfix
floatingmenu: Fixed float position of floatingmenu when it moves between editables.
Bugfix
core: Removes ExtJS‘ IE6 style fixes which break layout in IE9.
Bugfix
image-plugin: The image plugin will now only display the crop buttons when the cropping area selection was finished. This avoids a bug in Internet Explorer 7 where the crop area could not be resized once the user entered those crop buttons.
Bugfix
core: Fixed floating menu pinning with topalign behaviour (topalignOffset, horizontalOffset)
Aloha.Editor 0.20.2
Enhancement
core: Removed unneeded JSON empty function definition that surpressed errors in IE.
Enhancement
guides: Updated guides. They now include a directory structure explanation and a detailed release guide.
Enhancement
word contenthandler: html cleanup for empty tags, removal of spans and the paragraph numbering from TOC feature.
Bugfix
image-plugin: Replaced unicode characters in the crop buttons with images to fix display issues within Internet Explorer 7.
Bugfix
core: Fixed problem where Internet Explorer 7 and jquery.store will not work with frames since it will fallback to window.name storage. We‘ll now use a void storage for IE7. This means that IE7 will not be able to store floating menu postion and other settings.
Bugfix
core: Fixed problem of Internet Explorer 7 crashing when invoking jQuery‘s `removeAttr`.
Bugfix
html5shims: Function `getRootParent` in ecma5schims.js no longer throws an error when `null` or `undefined` is passed to it.
Bugfix
core: fixed incorrect dependency on jquery.json-2.2 where util/json2 is needed instead and made it globally available
Aloha.Editor 0.20.1
Enhancement
table-plugin: fixed incorrect repairing of tables (cells were appended to rows containing th elements).
Aloha.Editor 0.20.0-RC0
Aloha.Editor 0.20.0-RC1
Bugfix
link-plugin: Fixed a bug that prevented correct selection of items from the repository browser when a new link was created on a fresh loaded page.
Aloha.Editor 0.20.0-RC2
Bugfix
link-plugin: Fixed bug in link-plugin, which prevented correct selection of items from the repository browser when creating a link on a fresh page
Bugfix
browser-plugin: Fixed a bug that prevented the browser plugin to load its dependencies correctly.
Aloha.Editor 0.20.0-RC3
Feature
link-plugin: The default behaviour for the link plugin has changed. Links with empty hrefs will not be removed automatically any longer – removing the current href has to be confirmed by pressing enter to delete the link itself. Use the unlink button to remove the link directly.
Aloha.Editor 0.20.0-RC4
Bugfix
FloatingMenu: The FloatingMenu will now check the Aloha.settings.floatingmenu.topalignOffset parameter to be not undefined, as checking for ‘number‘ was too strict.
Aloha.Editor 0.20.0-RC5
Bugfix
link-plugin: The link plugin will no longer remove repository data attributes from the link when the user clicks a link and leaves it imediately. Previously those repository data attributes where removed when the repository lookup was not finished on time (before the user left the link). For the user the repository link was transformed to a normal link. This is now fixed.
Aloha.Editor 0.20.0-RC6
Bugfix
link-plugin/linkbrowser-plugin: Previously the highlight css for a link was not removed after an item was selected by the linkbrowser. Now highlight css will be correctly removed and the cursor will be placed back into the content. Previously the selection was lost.
Bugfix
table-plugin: Fixed a bug that deactivated tables after 5 seconds. This issue was caused by a failure within the table registry. Instead of loading the cloned object the original table was loaded and deactivated.
Aloha.Editor 0.20.0-RC7
Enhancement
flag-icons plugin: It is now necessary to add the flag-icons plugin in the aloha plugin load order before any plugins that need to use the shared flag icons.
Enhancement
metaview-plugin: Fixed metaview plugin to use shared flags icon from flag-icons plugin, for consistancy between plugins.
Enhancement
wai-lang-plugin: Improved wai-lang language selection ui. Organized flags to be in a plugin their own plugin so that the icons can be shared between other components.
Bugfix
link-plugin: Fixed javascript error that occured when linking items using the repository browser in Internet Explorer 8.
Bugfix
boilerplate demo: Fixed javascript error that occured in Internet Explorer 8.
Bugfix
link-plugin: The autocomplete list is now closed properly when the escape key was pressed.
Aloha.Editor 0.20.0-RC8
Enhancement
listenforcer-plugin: The listenforcer plugin was refactored.
Method names were changed and the way the plugin works with
lists was also changed. It will now no longer replace list
dom elments. Instead it will move sibling lists into the
first list element within the editable. Previously the whole
element was replaced and thus the selection was lost. This
caused problems with the floating menu. The user had to click
two times into a list to make the floating menu appear since
the selection was lost due to dom replacements. This is now
fixed.
Bugfix
core: The aloha-editable-activated will now no longer invoked twice.
Bugfix
image-plugin: Fixed handling of width and height when the user entered the cropping mode. You can resize the crop area by entering values in the width and height field.
Bugfix
list-plugin/link-plugin: The list plugin interfered with the link plugin behaviour. Previously it was not possible to create links within a list due to a bug within the list plugin. The list plugin will now no longer use the Aloha.List scope.
Bugfix
link-plugin: Fixed problem with auto-suggestion mechanism for the link input field causing the the wrong href value to be taken.
Aloha.Editor 0.20.0-RC9
Feature
formatlesspaste plugin: The elements stripped by the formatlesspaste plugin can now be configured like this
```javascript
“formatlesspaste“ :{
formatlessPasteOption : true,
strippedElements : [
“strong“,
“i“,
“b“,
“u”]
}
```
Feature
wai-lang plugin: The styling of the language input field, and dropdown suggestion box has been improved.
Feature
listenforcer-plugin: List enforcer plugin configuration should change
```javascript
// ... from this:
“listenforcer“ : {
“editables“ : {
“.myselector“ : [ “true“ ]
},
“config“ : “false“
}
//... to this:
“listenforcer“ : {
“editables“ : [ “.myselector” ]
}
```
Feature
listenforcer-plugin: The listenforcer plugin removes any non-list top-level elements to ensure that an editable in which lists are enforced will contain exactly one list as the only immediate child of the editable.
Enhancement
listenforcer-plugin: The enforce method is now a private function.
Enhancement
Some changes in the Browser Plugin (browser.js) to allow multiple, distinguishable instances of browsers on the same page
Bugfix
image-plugin: The saved aspect ratio will now be correcly recalculated when a cropping action is sucessfully ended. Previously the aspect ratio was not recalculated and therefore resizing of images resulted in unexpected image sizes.
Bugfix
customizable numerated-header plugin: when header content is deleted, the numeration tag will be deleted, too
Aloha.Editor 0.20.0
Enhancement
doc/api: added first version of new API docs. Please note that the API docs are currently work in progress.
Bugfix
floatingmenu: fixed a bug with topalign behaviour where scrolling would attach the floatingmenu to the left side of the screen.
Aloha.Editor 0.19.0
The reason for not releasing this builds was the ongoing refactoring of the core engine to implement all functionallities based on execCommand.
Non of these releases reached a production ready state. We still increased the release number due to the fact that we also tested the new release process with maven and archivia and it would brake dependencies if we wouldn‘t have increased the version number.
Aloha.Editor 0.9.3
- Link/Href handling – Repository browser – As well as sample Delicious and LinkList Repositories – Textarea and $(‘#myTextarea‘).aloha() support – Table plugin – Paste from Microsoft Word – Plugins are now submodules – Abbreviation plugin – LinkChecker plugin