Skip to content

RoosterJs 8.32.0

Choose a tag to compare

@JiuqingSong JiuqingSong released this 26 Sep 16:30
· 2845 commits to release since this release
5a87d17

New Feature

  • Image selection (still in progress) (#1284, #1286)

Improvement

  • Move normalizeBlockquote from normalizePlugin to Format API (#1250)
  • Add getVisibleViewport function and hide TableSelector when is not inside of the Visible Rect (#1254)
  • Remove Table Selection on Delete Row/Columns (#1260)
  • New experimental feature: Use elements from list stack even if they don't match (#1275)

Bug Fix

  • Fixing a bug where list style type was applied to inner lists even when the type was toggled (#1258)
  • Fix Cell Shade metadata issue for content model table (#1263)
  • Fix maintain list chain (#1267)
  • Remove 'caret-color' css rule when paste (#1283)

Engineering Improvement

  • Try fix Unstable test by fixing clean up after each test (#1277, #1280)
  • Add debug unit test commands to launch.json file (#1278)
  • Add unit test for markdownFeatures (#1272)
  • Enable strict mode for "packages-ui" (#1285)

Interface change

  • New DOM Utility
    • getIntersectedRect: Get the intersected Rect of elements provided
    • saveTableCellMetadata: Add metadata to a table cell
  • New parameter of VList.writeBack(), VListItem.writeBack(), VListChain.commit()
    • shouldReuseAllAncestorListElements: Whether ignore ancestor list types when try to reuse list element for a list
  • New method of IEditor and Editor
    • getVisibleViewport(): Retrieves the rect of the visible viewport of the editor.
  • New property of LifecyclePluginState
    • shadowEditImageSelectionPath: Cached image selection path for original content
  • New experimental features
    • ImageSelection: When a html image is selected, the selected image data will be stored by editor core.
    • ReuseAllAncestorListElements: With this feature enabled, when writing back a list item we will re-use all ancestor list elements
  • New value of SelectionRangeTypes
    • ImageSelection: Selection made in a image.
  • New value of BulletListType
    • Circle: Bullet type circle
  • New interface
    • TableCellMetadataFormat: Format of table cell that stored as metadata
    • ImageSelectionRange: Represents a selected image
  • New Core API and Core API type
    • selectImage: Select a image and save data of the selected range
  • New properties of EditorOptions
    • getVisibleViewport: Retrieves the visible viewport of the Editor. The default viewport is the Rect of the scrollContainer
    • imageSelectionBorderColor: Color of the border of a selectedImage. Default color: '#DB626C'
  • New Plugin
    • ImageSelection: Detect image selection and help highlight the image