Skip to content

Releases: microsoft/roosterjs

RoosterJs 7.11.2

29 Apr 05:40
8c7c094
Compare
Choose a tag to compare
  • 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

14 Mar 21:11
726d610
Compare
Choose a tag to compare

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

11 Mar 03:32
fca5075
Compare
Choose a tag to compare

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

06 Mar 21:18
777ea28
Compare
Choose a tag to compare

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

07 Feb 06:30
f0cfa2e
Compare
Choose a tag to compare

Bug fix:

  1. Fix watermark plugin bug #381
  2. Fix image resize bug #384

API change:

  1. insertImage supports existing url (#383)
  2. New package: roosterjs-cross-window, support cross window type checking

Improvement:

  1. Support cross window projection
  2. Add projection demo to demo site
  3. Watermark plugin: disable spell check for watermark text

RoosterJs 7.9.0

27 Dec 19:06
87347de
Compare
Choose a tag to compare

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

14 Nov 18:20
d0fc798
Compare
Choose a tag to compare

Improvement:
Improve the behavior of pasting list from OneNote.

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