Ordered list items should have a way to unset the applied HTML type
attribute
#54578
Labels
[Block] List
Affects the List Block
type
attribute
#54578
Description
Ordered lists produced by Gutenberg by using the
core/list
block default to a markup that looks like:Upon applying a selection from the Numbering style dropdown, the HTML attribute
type
is applied to the<ol>
block resulting in the following markupHowever, because the UI of the numbering style dropdown doesn't have a reset button or a setting for (no type) within, there is no way to "unset" this control and have it default back to the unadorned
<ol>
tag.Step-by-step reproduction instructions
Start by creating an ordered list from the following content.
core/list
block to enforce a specifictype
attribute on the block.type
attribute added to the<ol>
type
attribute using the default controls.Stuck. 🙁
Screenshots, screen recording, code snippet
No response
Environment info
wp-core
version: 6.3.1
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 2
dotorg_communication: true
wp-active-theme
name: Twenty Twenty-Three (twentytwentythree)
version: 1.2
author: the WordPress team
wp-plugins-active (3)
Gutenberg: version: 16.6.0, author: Gutenberg Team, Auto-updates disabled
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: