Skip to content

RoosterJs 8 plugins

Jiuqing Song edited this page Jan 12, 2021 · 1 revision

Changes in roosterjs-editor-plugins package in RoosterJs 8.0.0

Removed interfaces/types

EditorPickerPluginInterface interface

(Removed from 8.0.0)

getEntities function

(Removed from 8.0.0)

getEntityElement function

(Removed from 8.0.0)

createEntityWrapper function

(Removed from 8.0.0)

Types/functions moved to other packages

Replacement interface

(Moved to roosterjs-editor-types package)

PickerPluginOptions interface

(Moved to roosterjs-editor-types package)

PickerDataProvider interface

(Moved to roosterjs-editor-types package)

EntityPlugin

(Moved to roosterjs-editor-core package and was made as private)

insertEntity function

(Moved to roosterjs-editor-api package)

getEntityFromElement function

(Moved to roosterjs-editor-dom package)

New types/functions

ContextMenu class

(New in 8.0.0)

An editor plugin that support showing a context menu using render() function from options parameter Reference

CutPasteListChain class 

(New in 8.0.0)

Maintain list numbers of list chain when content is modified by cut/paste/drag&drop Reference

Modified existing types/interfaces/enums

getAllFeatures function

(Renamed from getDefaultContentEditFeatures)

Get all content edit features provided by roosterjs Reference

Paste class

Paste plugin, handles BeforePaste event and reformat some special content Reference

Removed members:

Name Description
pasteOriginal Use Ieditor.paste instead
pasteText Use Ieditor.paste instead
pasteAndMergeFormat Use Ieditor.paste instead
Clone this wiki locally