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

#2861 Allow specify pending format for paragraph #2885

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JiuqingSong
Copy link
Collaborator

@JiuqingSong JiuqingSong commented Nov 21, 2024

In addition to pending segment format, we now support specify pending format for paragraph. To do that, assign a pending format object to context.newPendingParagraphFormat within callback of formatContentModel:

                    this.editor.formatContentModel((_, context) => {
                        context.newPendingParagraphFormat = {...};

                        return false;
                    });

@JiuqingSong JiuqingSong changed the title #2861 #2861 Allow specify pending format for paragraph Nov 21, 2024
@JiuqingSong JiuqingSong marked this pull request as ready for review November 21, 2024 18:11
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