Skip to content

RoosterJs 8.59.0 and RoosterJs Content Model 0.20.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 11 Nov 05:30
· 1215 commits to release since this release
bbf6a43

New feature

  • When create a list, do not add margins before and after the list (#2150)

Improvement

  • Do not set focus when exit shadow edit (#2163)
  • Add undo snapshot and trigger ContentChangedEvent when delete node from PickerPlugin (#2173)
  • Fix Mouseout behavior to hide table editors (#2181)
  • Add image size checkmarks to context menu (#2168)
  • Ensure image parent node exist, before select it (#2194)

Content Model improvement

  • Use Content Model to handle Delete/Backspace key in more cases (#2162)
  • Fix bug in API setSelection (#2164)
  • Properly format new table after edit table (#2165)
  • Fix selection issue with entity (#2166)
  • Keep original format after paste (#2167)
  • Rearrange parameters of iterateSelections (#2180)
  • Correctly apply pending format on Android (#2172)
  • Fix apply Table Inside borders operation and Demo site (#2184)
  • Move formatWithContentModel to be a core API (#2185)
  • Allow clear cache from formatContentModel (#2186)
  • Potential perf improvement in getFormatState (#2187)
  • Move pending format into editor core (#2188)
  • Convert DeleteResult from const enum to string literal type (#2191)
  • Code reorganization (#2192, #2195, #2196, #2198, #2199, #2200)

Engineering improvement

  • Adding module entry to package.json (#2197)

Interface changes

  • New member function of class VList
    • removeMargins: Remove margin before and after a list
  • New parameter of function isResizedTo
    • maxError Maximum difference of pixels to still be considered the same size
  • New member function of interface ContextMenuItem
    • getSelectedId: A callback function to verify which subitem ID should have a checkmark