Skip to content

RoosterJs 8.20.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 25 Apr 17:37
· 2631 commits to master since this release
4b6ce6e

Improvement

  • Table improvements: support merging multiple cells (#880)
  • Allow customization of TableResize helper elements (#909)
  • When paste from Word, remove comments (#912)

Bug fix

  • Fix the bug that focus can be lost after copy (#893)
  • Fix some runtime errors (#897, #905)
  • Check if the TabKeyFeatures before modifying the ListPosition to be inside (#899, #900)
  • Fix copy/paste issue in IE (#908)
  • Fix an issue when set content with Colgroup (#872, #916)

Engineering improvement

  • Use "enum" instead of "const enum" by default to be compatible with "isolatedModule" mode. This will increase bundle size. To keep a smaller bundle size, we publish "@size-optimized" version to keep using "const enum" (#911)
  • Finished the strict mode improvement for roosterjs-editor-dom package (#883, #892)
  • Prepare strict mode for roosterjs-editor-core package (#902)

Interface change

  • Replace "const enum" with "enum" for @latest version, but keep them in @size-optimized version
  • New enum TableOperation member:
    • MergeCells: Merge all selected cells
  • New parameter of TableResize constructor:
    • Parameter onShowHelperElement: An optional callback to allow customize helper element of table resizing