@@ -14,7 +14,7 @@ import SidePane from './sidePane/SidePane';
1414import SnapshotPlugin from './sidePane/snapshot/SnapshotPlugin' ;
1515import TitleBar from './titleBar/TitleBar' ;
1616import { arrayPush } from 'roosterjs-editor-dom' ;
17- import { ContentModelEditor , ContentModelPlugin } from 'roosterjs-content-model' ;
17+ import { ContentModelEditor } from 'roosterjs-content-model' ;
1818import { ContentModelRibbonPlugin } from './ribbonButtons/contentModel/ContentModelRibbonPlugin' ;
1919import { darkMode , DarkModeButtonStringKey } from './ribbonButtons/darkMode' ;
2020import { EditorOptions , EditorPlugin } from 'roosterjs-editor-types' ;
@@ -127,7 +127,6 @@ class MainPane extends MainPaneBase {
127127 private emojiPlugin : EditorPlugin ;
128128 private updateContentPlugin : UpdateContentPlugin ;
129129 private toggleablePlugins : EditorPlugin [ ] | null = null ;
130- private contentModelPlugin : ContentModelPlugin ;
131130 private formatPainterPlugin : FormatPainterPlugin ;
132131 private mainWindowButtons : RibbonButton < RibbonStringKeys > [ ] ;
133132 private popoutWindowButtons : RibbonButton < RibbonStringKeys > [ ] ;
@@ -150,7 +149,6 @@ class MainPane extends MainPaneBase {
150149 this . pasteOptionPlugin = createPasteOptionPlugin ( ) ;
151150 this . emojiPlugin = createEmojiPlugin ( ) ;
152151 this . updateContentPlugin = createUpdateContentPlugin ( UpdateMode . OnDispose , this . onUpdate ) ;
153- this . contentModelPlugin = new ContentModelPlugin ( ) ;
154152 this . formatPainterPlugin = new FormatPainterPlugin ( ) ;
155153 this . mainWindowButtons = getButtons ( [
156154 ...AllButtonKeys ,
@@ -438,7 +436,6 @@ class MainPane extends MainPaneBase {
438436 this . ContentModelPanePlugin . getInnerRibbonPlugin ( ) ,
439437 this . pasteOptionPlugin ,
440438 this . emojiPlugin ,
441- this . contentModelPlugin ,
442439 this . formatPainterPlugin ,
443440 ] ;
444441
0 commit comments