Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove parameter "reduced" from editor.getContentModelCopy #2539

Merged
merged 6 commits into from
Mar 28, 2024

Conversation

JiuqingSong
Copy link
Collaborator

@JiuqingSong JiuqingSong commented Mar 27, 2024

now that we can pass domToModelOption into formatContentModel, we can remove the "reduced" model mode from getContentModelCopy since we can pass in processor override when we call formatContentModel. So move the reducedChildProcessor from core package into api package since it is only used there.

For EditorAdapter, we fallback to get a full ContentModel when we retrieve format. This is for compatibility only, the function there is not really used.

@JiuqingSong JiuqingSong merged commit c0198f4 into master Mar 28, 2024
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/removereducedmodel branch March 28, 2024 22:19
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