RoosterJs 9.0.0
Start from RoosterJs 9.0.0, the editor is built based on a middle layer called "Content Model". All formatting behavior will happen on top of this middle layer, directly DOM operation will be avoided as much as possible.
For more information about migrating to 9.0.0, please see here
Content Model Editor improvement
- Enabled Content Model cache by default (#2498)
- Port plugin: WatermarkPlugin (#2503, #2546)
- Port plugin: TableCellSelection (#2506)
- Port plugin: ContentEdit
- fix convertGlobalCssToInlineCss() to process pseudo-classes correctly (#2493)
- Add setLogicalRoot API (#2492)
- Fix paste issue for repaste (#2516)
- Fix bug for auto complete (#2517, #2520)
- Remove a redundant parameter from domToContentModel (#2521)
- Do not update the segment format if it have a value when pasting from excel (#2532)
- Fix format button does not work in Safari when WatermarkPlugin is enabled (#2530)
- Fix exportContent to return the complete editor content even with custom logical root (#2531)
- Allow passing in sanitizing options when create Content Model from HTML (#2543)
- Leverage DOMInsertPoint, remove posContainer/offset (#2538)
- Allow insert entity to a specified position without changing selection (#2537)
- Remove parameter "reduced" from editor.getContentModelCopy (#2539)
- Set isSelected to false for formatHolder of list item (#2540)
- Fix a bug with cached model (#2547)
Code organization
- Move public type definitions into roosterjs-content-model-type package (#2502)
- Reorganize core API and core Plugin files (#2501)
- Move non-core files from
roosterjs-content-model-core
toroosterjs-content-model-dom
(#2518)
Roosterjs-react improvement
- Added iconProp for ContextMenuItem (#2526)
Engineering improvement
- Import model document into demo site (#2509)
- Add tabs to demo site and PresetPlugin (#2511)
- Add eslint rule to disallow default export (#2515)
- Prepare publish roosterjs v9 (#2490)
- Fix builddoc script to correctly build document for content model (#2544)
- Fix demo site js error in side pane (#2545)
- Auto bump