Skip to content

Commit

Permalink
Bump roosterjs-editor-adapter to 0.26.3 to patch #2452 (#2453)
Browse files Browse the repository at this point in the history
* Fix dispose plugin issus in EditorAdapter (#2452)

* Patch with #2452
  • Loading branch information
JiuqingSong authored Feb 28, 2024
1 parent 0ff89a5 commit 5e4a0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/roosterjs-editor-adapter/lib/editor/EditorAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ export class EditorAdapter extends StandaloneEditor implements IEditor {
* Dispose this editor, dispose all plugins and custom data
*/
dispose(): void {
super.dispose();

const core = this.contentModelEditorCore;

if (core) {
Expand All @@ -167,8 +169,6 @@ export class EditorAdapter extends StandaloneEditor implements IEditor {

this.contentModelEditorCore = undefined;
}

super.dispose();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"packages-content-model": "0.26.4",
"overrides": {
"roosterjs-editor-plugins": "8.60.2",
"roosterjs-editor-adapter": "0.26.2"
"roosterjs-editor-adapter": "0.26.3"
}
}

0 comments on commit 5e4a0e1

Please sign in to comment.