Skip to content

Releases: microsoft/roosterjs

RoosterJs 7.6.1

16 Aug 18:02
db6941f
Compare
Choose a tag to compare

Bug fix:

  • Fix a null reference exception in adjustNodeInsertPosition()

RoosterJs 7.6.0

15 Aug 00:02
422f63c
Compare
Choose a tag to compare

New API:

  1. Undo snapshot refactor, export snapshot utilities so that it can be reused
  • createSnapshot()
  • addSnapshot()
  • cancanMoveCurrentSnapshot
  • clearProceedingSnapshots
  • moveCurrentSnapsnot

New Events:

  1. Add event: DarkModeChangedEvent, triggered when switch between light mode and dark mode
  2. Add event: Scroll, triggered when scroll container is scrolled

New Options:

  1. scrollContainer: Specify scroll container of editor

Bug fix:

  1. Fix #328, preserve data-* attribute when clear format
  2. Fix #270: Watermark plugin creates empty trailing div
  3. Fix #277: Insert tag inside a tag, should split outer tag
  4. Fix #330: When replacing links using ctrl-v, link doesnt disappear

Tool improve:

  1. Support auto publish

Other fix

  1. Improve PickerPlugin to be compatible with Android
  2. Do not trigger ContentChangedEvent when set initial content

RoosterJs 7.5.0

31 Jul 19:59
39882de
Compare
Choose a tag to compare

Main change:

  • Support Dark Mode, add dark mode related editor options and APIs (#326)

Other changes:

  1. Add a type-safe version of triggerEvent API (Editor.triggerPluginEvent) (#315)
  2. Add browser specified core plugins, remove ConentEditFeature.initialize() method (#312)
  3. Add new event PendingFormatStateChangedEvent which is fired when user is changing format like Bold/Italic/Underline/... when selection is collapsed, and cache those state and restore them when editor get focus back.
    Fix #224: Save temp BIU state when blur, restore when focus if position is not changed
    Fix #313: Pending format loses when type in empty editor
  4. Support adding custom data when creating editor (#323)
  5. Do not use willHandleEventExclusively in editplugin (#323)

Dev tool update:

  1. Add Husky hook for prettier when submit (#321)
  2. Upgrade version of dependencies (#321)

RoosterJs 7.4.1

11 Jun 21:31
b121ced
Compare
Choose a tag to compare

Revert change #298 since it can cause editor doesn't work in IE.

RoosterJs 7.4.0 (deprecated)

10 Jun 20:00
754dadb
Compare
Choose a tag to compare

!!!DO NOT USE THIS RELEASE!!!

There is known issue with this release which case cause the editor crash in IE. Please use 7.4.1 or newer instead.

  1. Fix #298: [Bullets] Tab should resolve AtMention instead of indenting bullet
  2. Fix #303: Fix cursor stuck at list issue
  3. Fix #306: Avoid generating extra empty line when get text content, add new API getTextContenet() in roosterjs-editor-dom

RoosterJs 7.3.2

29 Apr 22:11
61bd201
Compare
Choose a tag to compare
  1. Fix #286 Don't trigger autolink if pasted text is already in hyperlink
  2. Fix #290 applyInlineStyle() needs to clean any conflict styles from b/i/u/... tags
  3. [PickerPlugin] Modify check to register Backspace key onKeyUp
  4. [PickerPlugin] Fix an issue when call onKeyUp handler in PickerPlugin

RoosterJs 7.3.0

08 Apr 16:37
c52973c
Compare
Choose a tag to compare
  1. Do not propagate input event to parent elements to improve performance
  2. Improve bullet/numbering list behavior when decrease indentation to perserve format
  3. Fix #279 Editor.select() should be no-op and return false if parameter isn't valid
  4. Allow set aria attributes for PickerPlugin when show/hide picker and change selection
  5. Improve PickerPlugin to avoid use keypress event to benefit mobile scenario

RoosterJs 7.2.4 - RoosterJs 7.2.6

13 Mar 22:12
60aa561
Compare
Choose a tag to compare
  1. Split Format state into 4 parts:
  • Pendable format (B/I/U/Strikethrough/superscript/subscript)
  • Element based format (Bullet, numbering. quote, link, image, header)
  • Style based format (font name, font size, colors)
  • (deprecated) Editor managed state (canundo, canredo)
  1. Add functions to get format state of 1.1, 1.2, 1.3, so that user only need to get subset of the format state when need. This is to save the call to getComputedStyles()
  2. Don't call getComputedStyles() when initialize editor if default format already contains everything
  3. Fix dts tool to support multiple extends
  4. Allow Hyperlink onLinkClick to fall back to default handling to reduce redundant code
  5. Fix a bug that auto link can't be triggered by ENTER key
  6. Ctrl+Click to a hyperlink needs to check mouse button

RoosterJs 7.2.3

05 Mar 20:15
72da532
Compare
Choose a tag to compare

Fix a bug that hotkeys (Ctrl/Alt/Meta+letter) will be trapped inside editor.

RoosterJs 7.2.2

28 Feb 07:08
09ba3fd
Compare
Choose a tag to compare
  1. Stop event propagation for key inputs to improve performance
  2. Make PickerPlugin generic
  3. New core API: SelectRange, replace original API Select (deprecated)