This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
1.0.0-rc.2
Backwards-Incompatible Changes
- #613
editor.setSingleSelectionRange
is no longer public API. - #620
editor.rawHtml
no longer callseditor.prepareDocForEditing
. - #512
editor.registerModification()
is expected to be called after DOM manipulations. - #647
Gecko (Firefox) has a feature of editing tables by mouse dragging,
that is considered unhelpful.
It was previously disabled for a while and it was found to be enabled now.
So it is now disabled again. - #648,
#641
Object resizing (images, primarily) in Firefox and IE has been disabled. - #639
- The
jQueryPath
option was removed. - The
wym._index
editor instance property is removed. - Removed
wym.wrap
andwym.unwrap
editor methods. - Dialogs cannot be opened using the
exec
method. Use thedialog
method,
instead. - Changes in
wym.dialog
method. Existing custom dialogs should still work,
but it is recommended that existing custom dialogs be rewritten using the
newwym.dialog
API (see API documentation) or at least that they be
tested.
- The
- #679
Support for IE7 dropped. - #680
For IE8 support, some shimmable ES5 features are now required.
We test using es5-shim
(including the shams).
Here are examples.
Enhancements
- #625
Neweditor.insertImage
andeditor.link
methods. - #637
Neweditor.doesElementContainSelection
method. - #512
New undo/redo methods in the API. - #624
Neweditor.keyboard.combokeys
for managing keyboard shortcuts. - #641
Neweditor.getSelectedImage()
- #639
New dialogs API. See API documentation for thewym.dialog
method.
Bug Fixes
- #512
Undo/redo is working for toolbar actions and text edits.
Undo/redo for containers and classes (styles) is a WIP.
The presence of the undo/redo feature may use a large amount of memory,
depending on the document size and the browser. This will be optimized in the
future. - #624
- Keyboard shortcuts are more consistent cross-platform.
- Fix: pressing tab in WebKit and Blink creates span. caveat: now tab can’t
be used to focus on the next element (taking focus outside the document).
- #666
Stopped mangling HTML with the parser when tables are nested within
tables.