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

Bug: The $convertLayoutContainerElement function of LayoutContainerNode always returns null #6813

Open
1019058432 opened this issue Nov 10, 2024 · 0 comments

Comments

@1019058432
Copy link

Lexical version:0.19.0

Steps To Reproduce

1.Create a 2-column example in the editor and export it as HTML
2.Re import the exported HTML content in the editor

Link to code example:

The current behavior

The window.getComputedStyle used in this function cannot retrieve any value from the un mounted rendered HTML, so the $convertLayoutContainerElement always returns null.

The expected behavior

successfully returned column instance and rendered column node layout correctly

Impact of fix

@1019058432 1019058432 changed the title The $convertLayoutContainerElement function of LayoutContainerNode always returns null Bug:The $convertLayoutContainerElement function of LayoutContainerNode always returns null Nov 10, 2024
@1019058432 1019058432 changed the title Bug:The $convertLayoutContainerElement function of LayoutContainerNode always returns null Bug: The $convertLayoutContainerElement function of LayoutContainerNode always returns null Nov 10, 2024
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

No branches or pull requests

1 participant