-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
List content lost when switching list type #32405
Comments
I just tested with WP 5.8 and switching between list types removes the list content. |
2021-06-03.13.56.21.movValues are saved. Indenting will apply the changes. Gutenberg version: Trunk |
The new value is passed to |
gutenberg/packages/rich-text/src/component/index.js Lines 201 to 204 in 79cb3eb
If the |
If you comment out this line, it will be displayed correctly. |
I see this is also happening with the heading block. We have a test that was supposed to guard against problems with placing the node type, but it didn't test adding content:
|
@ellatrix Happening with the heading block too. 2021-06-04.12.57.32.mov |
Description
List content lost when switching list type.
Step-by-step reproduction instructions
In any block editor:
Expected behaviour
List content to not be lost
Actual behaviour
List content is lost
Screenshots or screen recording (optional)
list-content-lost.mp4
WordPress information
Device information
The text was updated successfully, but these errors were encountered: