Skip to content

Content Model Shadow Edit Step 1: Split editor#1693

Merged
JiuqingSong merged 1 commit into
masterfrom
u/jisong/shadowedit2
Apr 3, 2023
Merged

Content Model Shadow Edit Step 1: Split editor#1693
JiuqingSong merged 1 commit into
masterfrom
u/jisong/shadowedit2

Conversation

@JiuqingSong

Copy link
Copy Markdown
Collaborator

In order to allow ContentModelEditor append more info into editor core and override core api, in this change I split the Editor class into two parts:

  • EditorBase: A generic class that support a generic EditorCore object, and accept a editorCoreCreator function to create editor core
  • Editor: Child class of EditorBase, provide creator of EditorCore

This change is just code moving, no logic change

@JiuqingSong JiuqingSong changed the title Content Model Shadow Edit Step 2: Split editor Content Model Shadow Edit Step 1: Split editor Apr 3, 2023
@JiuqingSong

Copy link
Copy Markdown
Collaborator Author

#1691

@JiuqingSong
JiuqingSong marked this pull request as ready for review April 3, 2023 04:57
@JiuqingSong
JiuqingSong merged commit 1218085 into master Apr 3, 2023
@JiuqingSong
JiuqingSong deleted the u/jisong/shadowedit2 branch April 3, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants