Skip to content

RoosterJs 8.22.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 05 May 22:03
· 2573 commits to master since this release
9b7524a

Improvement

  • Support more accessible image resize handles (#915, #927)
  • Improve paste from Word behavior:
    • Remove unwanted margin below a list (#923)
    • Remove line-height when its value is too small (#937)
  • Graduate experimental feature: AlwaysApplyDefaultFormat (#934)
  • Expose original core API in EditorCore so that overridden core API can easily call original API (#930)
  • New experimental feature: align list items with its list number or bullet point (#948)
  • Apply default format when clear block format (#945)

Bug fix

  • Fix the bug that formatted table can lose background when switch from dark mode to light mode (#933)
  • Change normalize tableSelection using Vtable instead of table (#938)
  • Do not insert TAB space when press TAB in readonly entity (#947)
  • Fix a script error in VTable (#962)
  • Remove duplicated Table ID when select table (#964)
  • Maintain list style type when a style type is already applied (#960)
  • Fix a bug that dark mode color not applied when there is already data color specified (#959)

Engineering improvement

  • Publish a new package roosterjs-editor-types-compatible to export enums rather than const enum so it can work in isolatedModules mode, and go back to publish const enum from existing roosterjs-editor-types package to keep smaller bundle size (#929, #949, #950, #956, #957, #958, #961)
  • Make the source code inline into source map in package roosterjs-color-utils to support better compatibility (#935)

Interface changes

  • New compatible enum types are added. All of them have the same values with original const enum types. For more information, please refre to Work with isolatedModules
  • New ExterimentalFeatures member:
    • AdaptiveHandlesResizer: Provide a circular resize handles that adaptive the number od handles to the size of the image
    • ListItemAlignment: Align list elements elements to left, center and right using setAlignment API