Skip to content

Two floating link elements in DOM #2782

Closed Answered by eugenet8k
eugenet8k asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, my bad, it seems two floating root containers are expected. It was a bit confusing that the editing form might show up in either insert or view-edit root element. So we should account for this in testing.

The original layout code clearly describes the conditions https://github.com/udecode/plate/blob/main/templates/plate-playground-template/src/components/plate-ui/link-floating-toolbar.tsx#L101

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eugenet8k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #2766 on November 29, 2023 15:07.