Skip to content

Releases: yabwe/medium-editor

5.4.1

20 Jul 21:03
Compare
Choose a tag to compare
  • Fix issue where custom anchor-preview extensions weren't overriding built-in anchor preview
  • Add documentation from wiki into the source code

5.4.0

16 Jul 17:49
Compare
Choose a tag to compare
  • Add support for including 'alt' key in keyboard-commands

5.3.0

07 Jul 19:32
Compare
Choose a tag to compare
  • Fix issue with disabling image drag & drop via imageDragging option
    • Deprecate image-dragging extension
    • Introduce file-dragging extension
  • Ensure autolink urls respect targetBlank option
  • Expose importSelection and exportSelection as generic Selection helpers

5.2.0

29 Jun 17:58
Compare
Choose a tag to compare
  • 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

28 Jun 08:28
Compare
Choose a tag to compare

Backport some fixes released on 5.1.0

  • Ignore source files (#697)
  • Ensure all extra attributes are removed on destroy (#703)
  • Ensure div ids are unique when there are multiple textareas (#701)
  • Events object should remove data-medium-focused attribute on destroy (#707)
  • Fix (badly) broken allowMultiParagraphSelection option (#708)

5.1.0

26 Jun 20:36
Compare
Choose a tag to compare
  • 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

18 Jun 21:26
Compare
Choose a tag to compare
  • 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
  • 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
  • Util
    • getProp, derives, getSelectionData, setObject & getObject are gone
    • getSelectionRange & getSelectionStart are now in Selection

5.0.0-rc.1

17 Jun 15:38
Compare
Choose a tag to compare
5.0.0-rc.1 Pre-release
Pre-release

Release candidate for v5.0.0

4.12.5

16 Jun 05:54
Compare
Choose a tag to compare
  • Fix issue with restoring selection within nested block elements

4.12.4

16 Jun 05:51
Compare
Choose a tag to compare
  • Ensure auto-link will never select an empty element (br, hr, input, etc.)