Releases: microsoft/roosterjs
Releases · microsoft/roosterjs
RoosterJs 7.8.0
Improvement:
- Improve list handling when paste from Word Online
Bug fixes:
- CustomeReplace plugin: don't do replace when user presses BackSpace
- Fix #362 Don't move cursor in loop when user presses Ctrl+Left
- Fix #366 Don't replace tab char (\t) when paste
API change:
- isRtl
Checks if the given node is rendered in Right-to-Left mode - GenericContentEditFeature.shouldHandleEvent
Add a parameter to pass in if Ctrl/Meta key is pressed - Editor.isPositionAtBeginning
Check if this position is at beginning of the editor - 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
Fix #355 When paste from word, we need to preserve its empty line by preserve <o:p> </o:p>
RoosterJs 7.7.0
New API/options:
- Expose selection path related API so that it can be called outside editor
- getHtmlWithSelectionPath
- setHtmlWithSelectionPath
- Add a new insert node position option "DomEnd" which allows inserting a node at the end of DOM structure within editor
Bug fixes:
- Fix format issue when Cut and Paste in dark mode
- Fix an exception in HyperLink plugin when getTooltipCallback is not specified
- Fix Editor.insertContent() API, don't wrap with a DIV when there is only 1 top level node to insert
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