-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 block list-style-type issue #52826
Comments
Thanks for the review. The problem appears to be affected by the following two CSS files that are loaded into the iframe editor instance in certain themes.
As shown below, these styles override the attributes of the Curiously, these two stylesheets are not loaded in the block themes (Twenty Twenty Three, Twenty Twenty Two). Below are the stylesheets that are loaded in the Twenty Twenty Three<link rel="stylesheet" id="dashicons-css" href="http://localhost:8888/wp-includes/css/dashicons.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-components-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/components/style.css?ver=1689945413" media="all">
<link rel="stylesheet" id="wp-block-library-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/style.css?ver=1689945413" media="all">
<link rel="stylesheet" id="wp-reusable-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/reusable-blocks/style.css?ver=1689945413" media="all">
<link rel="stylesheet" id="wp-block-editor-content-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-editor/content.css?ver=1689945413" media="all">
<link rel="stylesheet" id="wp-edit-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/editor.css?ver=1689945413" media="all"> Twenty Twenty Two<link rel="stylesheet" id="dashicons-css" href="http://localhost:8888/wp-includes/css/dashicons.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-components-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/components/style.css?ver=1689945444" media="all">
<link rel="stylesheet" id="wp-block-library-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/style.css?ver=1689945444" media="all">
<link rel="stylesheet" id="wp-reusable-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/reusable-blocks/style.css?ver=1689945444" media="all">
<link rel="stylesheet" id="wp-block-editor-content-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-editor/content.css?ver=1689945444" media="all">
<link rel="stylesheet" id="wp-edit-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/editor.css?ver=1689945444" media="all">
<link rel="stylesheet" id="wp-block-library-theme-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/theme.css?ver=1689945444" media="all"> Twenty Twenty One<link rel="stylesheet" id="dashicons-css" href="http://localhost:8888/wp-includes/css/dashicons.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-components-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/components/style.css?ver=1689945478" media="all">
<link rel="stylesheet" id="common-css" href="http://localhost:8888/wp-admin/css/common.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="forms-css" href="http://localhost:8888/wp-admin/css/forms.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-reset-editor-styles-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/reset.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-block-library-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/style.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-reusable-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/reusable-blocks/style.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-block-editor-content-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-editor/content.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-editor-classic-layout-styles-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/edit-post/classic.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-edit-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/editor.css?ver=1689945478" media="all">
<link rel="stylesheet" id="wp-block-library-theme-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/theme.css?ver=1689945478" media="all"> Twenty Twenty<link rel="stylesheet" id="dashicons-css" href="http://localhost:8888/wp-includes/css/dashicons.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-components-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/components/style.css?ver=1689945511" media="all">
<link rel="stylesheet" id="common-css" href="http://localhost:8888/wp-admin/css/common.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="forms-css" href="http://localhost:8888/wp-admin/css/forms.css?ver=6.3-RC1" media="all">
<link rel="stylesheet" id="wp-reset-editor-styles-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/reset.css?ver=1689945511" media="all">
<link rel="stylesheet" id="wp-block-library-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/style.css?ver=1689945511" media="all">
<link rel="stylesheet" id="wp-reusable-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/reusable-blocks/style.css?ver=1689945511" media="all">
<link rel="stylesheet" id="wp-block-editor-content-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-editor/content.css?ver=1689945511" media="all">
<link rel="stylesheet" id="wp-editor-classic-layout-styles-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/edit-post/classic.css?ver=1689945511" media="all">
<link rel="stylesheet" id="wp-edit-blocks-css" href="http://localhost:8888/wp-content/plugins/gutenberg/build/block-library/editor.css?ver=1689945511" media="all">
<link rel="stylesheet" id="twentytwenty-block-editor-styles-css" href="http://localhost:8888/wp-content/themes/twentytwenty/assets/css/editor-style-block.css?ver=2.2" media="all"></head> |
cc @ellatrix for both iframe and list block related items. |
I have found that this problem also occurs when the editor is NOT an iframe. In other words, when custom fields are turned on, the editor is no longer an iframe, and this problem occurs. 1299c8c285613f78774217d927fbabda.mp4 |
Description
Hello Team,
I have worked on the Gutenberg List block and found that the list block list-style-type is not working as expected in different themes.
When we are trying to change its NUMBERING STYLE, it's not working as expected. Also, the selected NUMBERING STYLE is not selected when we refresh the page; it always displays the first option. So, I think that it should be fixed.
Here, I have provided its video:
Issue Video
Please review it and let me know your feedback for the same.
Thanks,
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: