Skip to content

Releases: microsoft/roosterjs

RoosterJs 7.8.0

18 Oct 22:35
438731d
Compare
Choose a tag to compare

Improvement:

  1. Improve list handling when paste from Word Online

Bug fixes:

  1. CustomeReplace plugin: don't do replace when user presses BackSpace
  2. Fix #362 Don't move cursor in loop when user presses Ctrl+Left
  3. Fix #366 Don't replace tab char (\t) when paste

API change:

  1. isRtl
    Checks if the given node is rendered in Right-to-Left mode
  2. GenericContentEditFeature.shouldHandleEvent
    Add a parameter to pass in if Ctrl/Meta key is pressed
  3. Editor.isPositionAtBeginning
    Check if this position is at beginning of the editor
  4. ContentEditFeatures.noCycleCursorMove
    Chrome may make the cursor move the then end of document if press Ctrl+Left at the beginning of document Let's disable this behaivor

RoosterJs 7.7.1

23 Sep 20:24
dc6a457
Compare
Choose a tag to compare

Fix #355 When paste from word, we need to preserve its empty line by preserve <o:p> </o:p>

RoosterJs 7.7.0

26 Aug 22:53
0ad3441
Compare
Choose a tag to compare

New API/options:

  1. Expose selection path related API so that it can be called outside editor
  • getHtmlWithSelectionPath
  • setHtmlWithSelectionPath
  1. Add a new insert node position option "DomEnd" which allows inserting a node at the end of DOM structure within editor

Bug fixes:

  1. Fix format issue when Cut and Paste in dark mode
  2. Fix an exception in HyperLink plugin when getTooltipCallback is not specified
  3. Fix Editor.insertContent() API, don't wrap with a DIV when there is only 1 top level node to insert

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