Releases: yabwe/medium-editor
Releases · yabwe/medium-editor
5.4.1
5.4.0
5.3.0
5.2.0
- Move allowMultiParagraphSelection into toolbar options
- Deprecate global allowMultiParagraphSelection option
- Fix issue with allowMultiParagraphSelection option over empty elements
- Fix issue with creating links producing multiple anchor tags
- Fix issue where anchor preview displays while toolbar is visible
- Add demo pages for example extension and example button
4.12.6
Backport some fixes released on 5.1.0
5.1.0
- Add showToolbarDefaultAction helper method to form extension
- Ensure elements generated for textareas have a unique id
- Ensure all added attributes are removed during destroy
- Cleanup divs generated by Chrome during justify actions
- Add parameter to anchorPreview.positionPreview for reusability
5.0.0
- All deprecated functions have been removed
- Keyboard Shorcuts are now part of an extension and not attached to specific button/commands
- Placeholders are now part of an extension with its own dedicated options
- Toolbar is now an extension with its own dedicated options
- firstHeader and secondHeader are gone you should use h1 thru h6
- Support pre-releases
- Buttons
- The array of buttons can now contain objects, for overriding any part of the button object
- This replaces the custom object value for the buttonLabels option
- The array of buttons can now contain objects, for overriding any part of the button object
- API
- Unique id for MediumEditor instance will now remain unique (regardless of how many instances are created)
- .statics references are gone
- .trigger supports triggering events without needing to declare the event
- .callExtensions(), .setToolbarPosition(), and .hideToolbarDefaultActions() have been removed
- Extension
- .window & .document are now exposed as members of the Extension
- init no longer is passed MediumEditor instance as first argument
- CSS
- All classes are now
medium-editor
prefixed
- All classes are now
- Util
- getProp, derives, getSelectionData, setObject & getObject are gone
- getSelectionRange & getSelectionStart are now in Selection
5.0.0-rc.1
Release candidate for v5.0.0