Releases: microsoft/roosterjs
RoosterJs 7.11.2
- Fix version issue of roosterjs-html-sanitizer package
- Fix the bug that format can be lost when outdent an existing bullet list
- Fix the bug that Editor.insertContent() can insert nodes in wrong order
RoosterJs 7.10.6
Fix a dependency issue of roosterjs-editor-api package to explicitly add dependency to roosterjs-html-sanitizer package
Fix roosterjs-html-sanitizer package to be able to filter dangerous link url like javascript\n:....
Fix roosterjs-cross-window package to expose more types for check, and export safeInstanceOf function
RoosterJs 7.10.3
Bug fix:
#349 ToggleHeader doesn't remove current font-size
Currently we only remove 'font-size' for selected inlineElement. But we actually should do this for all related BlockElements, and use HtmlSanitizer to help loop each elements
#380 Hyperlinks absorb all text/images pasted next to them
We already have a similar fix for inserting text for Firefox, we just need to also apply that fix to paste event in all browsers
#388 HTML sanitizer bypass
Add a XSS check to the link url when insert link using HtmlSanitizer
RoosterJs 7.10.2
Fix a bug in roosterjs-cross-window package which may return wrong result when check type of DOM node which is created from parent window and mounted to child window.
RoosterJs 7.10.0
Bug fix:
API change:
- insertImage supports existing url (#383)
- New package: roosterjs-cross-window, support cross window type checking
Improvement:
- Support cross window projection
- Add projection demo to demo site
- Watermark plugin: disable spell check for watermark text
RoosterJs 7.9.0
Add new APIs:
- Editor.getSelectionPath(), directly get a selection path from current editor selection
- Editor.getEditorDomAttribute(), get DOM attribute value from editor DIV
Add new override:
- Editor.select() supports selecting with a selection path.
RoosterJs 7.8.1
Improvement:
Improve the behavior of pasting list from OneNote.
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