Skip to content

RoosterJs 8.54.0 and RoosterJs Content Model 0.14.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 18 Aug 21:46
· 1416 commits to release since this release
e2ae751

Improvement

  • Do not allow dragging on readonly content (#2010)
  • Skip Trigger plugin event on plain text paste (#2011)
  • Image edit: Improve rotate handle calculation (#2017)
  • Rename "header" to "heading" (#2020)
  • Fix tripple clicking behavior (#2024)
  • Replace content of first selected table cell when type (#2030)

Bug fix

  • Fix image crop handle bug (#2019)
  • Fix missing table cell issue (#2027)
  • Fix flipped image issue (#2028)
  • Fix regression when creating the BeforePasteEvent (#2039)

Content Model improvement

  • Improve cache behavior (#1999)
  • Support more unit type of font size (#2012)
  • Improve image tag fidelity (#2013)
  • Refactor API formatWithContentModel (#2001, #2002)
  • Improve pasting table behavior (#2016, #2022)
  • New API: insertEntity based on Content Model (#1800)
  • Rename a test file (#2029)
  • Remove "display: flex" when paste (#2031)
  • Cut content should also remove list bullet (#2035)
  • Improve table fidelity (#2036)
  • Delete empty container when delete table (#2037)
  • Simplify the domToModel call in paste.ts (#2040)
  • Support vertical-align for image (#2041)

Engineering improvement

  • Fix insert link button in Content Model ribbon (#2018)

Interface changes

  • Rename "header" to "heading" and keep the old types/interfaces for compatibility
    • Rename API toggleHeader to setHeadingLevel
    • Rename ElementBasedFormatState.headerLevel to ElementBasedFormatState.headingLevel
    • Rename KnonwnRibbonButtonKey.Header to KnonwnRibbonButtonKey.Heading (roosterjs-react)
    • Rename type HeaderButtonStringKey to HeadingButtonStringKey and all its child type names (roosterjs-react)
  • Export new function for roosterjs-react
    • New API showInputDialog
    • New interface DialogItem