Skip to content

RoosterJs 8

Jiuqing Song edited this page Jan 13, 2021 · 2 revisions

Changes in RoosterJs 8.0.0

In RoosterJs 8.0.0, we have some interface/API changes, as a full changed list, checkout links at the bottom of this doc.

Major changes

Move/extract types into roosterjs-editor-types package

Now, all public types/interfaces/enums are moved into roosterjs-editor-types package. If your program need to reference any of them, you just need to reference to this package without importing code from other packages and typescript can do strong-type check since you already have all type information. You only need to reference to other packages when you need to call functions or create instance of classes from them.

These interfaces include:

For more detailed changes of types/API, see the links below.

Interface and API changes

roosterjs-editor-types package

roosterjs-editor-dom package

roosterjs-editor-core package

roosterjs-editor-api package

roosterjs-editor-plugins package