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

Fix block marks #155

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

Fix block marks #155

wants to merge 3 commits into from

Conversation

smoores-dev
Copy link
Collaborator

Previously, we had been leaving it up to the NodeView component to render their own MarkViews, if their node was not inline. This causes the view descriptor tree to be built incorrectly: the MarkViewDesc must be a parent of the NodeViewDesc, so the MarkView component must be a parent of the NodeView component.

This PR moves the responsibility for rendering wrapping MarkViews into the ChildElement component, which is where we handle (much more complex) inline MarkView wrapping as well.

@smoores-dev smoores-dev requested a review from a team as a code owner January 2, 2025 18:49
@smoores-dev smoores-dev enabled auto-merge (squash) January 2, 2025 18:59
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.

1 participant