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

Content Model: Pass out segment nodes from segment handlers #2079

Merged
merged 5 commits into from
Sep 19, 2023

Conversation

JiuqingSong
Copy link
Collaborator

This is a preparation step of of Content Model cache improvement.

In order to let cached model communicate with the DOM node, segment handlers need to pass the new DOM node out, so paragraph handler can get them, and use them in further changes.

So I added a new parameter segmentNodes to all segment handlers, and put the new DOM node created from the handlers into this array.

@JiuqingSong JiuqingSong merged commit 5cef7ba into master Sep 19, 2023
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/segmentnodes branch September 19, 2023 21:50
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