Skip to content

RoosterJs 8.11.1

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 25 Oct 22:22
· 2908 commits to master since this release
9722fd0

Improvements

  • Upgrade build tool to typescript 4.4.4. This causes some interface change about TargetWindow interface (see below)

Bug fixes:

  • Exclude comment nodes when checking first child nodes when paste image (#673)
  • Remove empty span with position:absolute when paste from Word WAC (#674)

Interface changes

  • New members of interface Keys
    • Keys.EIGHT_ASTERISK (correct the spelling of the name)
    • Keys.FORWARD_SLASH (add "_" between words)
    • Old related members are marked as @deprecated
  • New base interface of TargetWindow: TargetWindowBase, to split auto-generated members from manually added ones
  • New Member of TargetWindow (via TargetWindowBase). These members are supported by new version of typescript:
    • TargetWindow(Base).ParentNode
    • TargetWindow(Base).SVGMPathElement
    • TargetWindow(Base).SVGSetElement
    • TargetWindow(Base).MathMLElement
  • Deprecated members of TargetWindow interface, for backward compatibility, we still keep them but there types are all "Element", so do not use them.
    • TargetWindow.SVGCursorElement
    • TargetWindow.HTMLBaseFontElement
    • TargetWindow.HTMLAppletElement