Skip to content

RoosterJs Content Model 0.24.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 22 Jan 22:05
· 902 commits to release since this release
121728f

Content Model fidelity improvement

  • Add each border radius when the shorthand css is not provided and borderCollapse: separate support (#2325)
  • Support text-indent (#2009)
  • Support format parser and applier for text node (#2334)
  • Support COLGROUP (#2339)

Content Model behavior improvement

  • Remove Height from Divs on paste (#2320)
  • List Feature: Backspace on empty list (#2316)
  • Add TextColor Parser to tables (#2338)
  • Fix switch dark color issue in Content Model (#2335)
  • Fix a potential js error in setDOMSelection (#2336)
  • Bug fix: The style on SelectionMarker is not up to date after setFontSize more than one time (#2331)
  • Update start of lists when pasting from Word Online (#2340)

Build a Standalone Editor based on Content Model

  • Create new EditorPlugin interface (#2293)
  • Create new event system (#2297)
  • Port to new event system (#2298)
  • Remove compatible enums from Standalone Editor (#2296)
  • Decouple TrustHTMLHandler and Rect (#2307)
  • Improve Undo (#2308)
  • Port DarkColorHandler (#2328)
  • Port ContentModelEditPlugin to use IStandaloneEditor (#2342)
  • Add back ContentModelBeforePasteEvent (#2347)

Legacy editor changes

  • Allow TableResize's onShowHelperElement callback to get affected element (#2315)

Engineering improvement

  • Port demo site ribbon buttons (#2294)
  • Create demo page for Standalone Editor (#2295)
  • Forbid using public const enum (#2341)