Releases: microsoft/roosterjs
Releases · microsoft/roosterjs
RoosterJs 7.6.1
Bug fix:
- Fix a null reference exception in adjustNodeInsertPosition()
RoosterJs 7.6.0
New API:
- Undo snapshot refactor, export snapshot utilities so that it can be reused
- createSnapshot()
- addSnapshot()
- cancanMoveCurrentSnapshot
- clearProceedingSnapshots
- moveCurrentSnapsnot
New Events:
- Add event: DarkModeChangedEvent, triggered when switch between light mode and dark mode
- Add event: Scroll, triggered when scroll container is scrolled
New Options:
- scrollContainer: Specify scroll container of editor
Bug fix:
- Fix #328, preserve data-* attribute when clear format
- Fix #270: Watermark plugin creates empty trailing div
- Fix #277: Insert tag inside a tag, should split outer tag
- Fix #330: When replacing links using ctrl-v, link doesnt disappear
Tool improve:
- Support auto publish
Other fix
- Improve PickerPlugin to be compatible with Android
- Do not trigger ContentChangedEvent when set initial content
RoosterJs 7.5.0
Main change:
Other changes:
- Add a type-safe version of triggerEvent API (Editor.triggerPluginEvent) (#315)
- Add browser specified core plugins, remove ConentEditFeature.initialize() method (#312)
- 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 - Support adding custom data when creating editor (#323)
- Do not use willHandleEventExclusively in editplugin (#323)
Dev tool update:
RoosterJs 7.4.1
Revert change #298 since it can cause editor doesn't work in IE.
RoosterJs 7.4.0 (deprecated)
!!!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.
- Fix #298: [Bullets] Tab should resolve AtMention instead of indenting bullet
- Fix #303: Fix cursor stuck at list issue
- Fix #306: Avoid generating extra empty line when get text content, add new API getTextContenet() in roosterjs-editor-dom
RoosterJs 7.3.2
RoosterJs 7.3.0
- Do not propagate input event to parent elements to improve performance
- Improve bullet/numbering list behavior when decrease indentation to perserve format
- Fix #279 Editor.select() should be no-op and return false if parameter isn't valid
- Allow set aria attributes for PickerPlugin when show/hide picker and change selection
- Improve PickerPlugin to avoid use keypress event to benefit mobile scenario
RoosterJs 7.2.4 - RoosterJs 7.2.6
- 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)
- 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()
- Don't call getComputedStyles() when initialize editor if default format already contains everything
- Fix dts tool to support multiple extends
- Allow Hyperlink onLinkClick to fall back to default handling to reduce redundant code
- Fix a bug that auto link can't be triggered by ENTER key
- Ctrl+Click to a hyperlink needs to check mouse button
RoosterJs 7.2.3
Fix a bug that hotkeys (Ctrl/Alt/Meta+letter) will be trapped inside editor.
RoosterJs 7.2.2
- Stop event propagation for key inputs to improve performance
- Make PickerPlugin generic
- New core API: SelectRange, replace original API Select (deprecated)