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

The class when placing a block is not the same as the class when changing the style and then changing it back. #32946

Closed
shimotmk opened this issue Jun 24, 2021 · 2 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@shimotmk
Copy link
Contributor

The class when placing a block is not the same as the class when changing the style and then changing it back.

Description

The class when placing a block is not the same as the class when changing the style and then changing it back.

For example, in the case of a Quote block, it will look like this

■ The moment the block is placed (Default)
wp-block-quote block-editor-block-list__block wp-block is-selected

■ When you click on Large style
wp-block-quote is-style-large block-editor-block-list__block wp-block

■ Once you click on Large style, change it back to Default.
wp-block-quote is-style-default block-editor-block-list__block wp-block

Notice the is-style-〇〇 after wp-block-quote.

Expected behaviour

Can't I make this the Default style when I place the block?

I'm having trouble when I want to change the default to Large style.

@shimotmk
Copy link
Contributor Author

This issues has run into the same problem in the past.
#23548

@talldan
Copy link
Contributor

talldan commented Jun 28, 2021

Thanks for reporting the problem. This was already reported in #20706, so I'll close this issue.

@talldan talldan closed this as completed Jun 28, 2021
@talldan talldan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants