You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We pushed D145819-code for code that seems to affect only the core editor.
Core Editor
P2 editor
Why
I am not 100% sure how those blocks are hidden in the P2 editor that opens in a modal. We want to understand how that works to ensure the issue is fixed.
I believe the P2 editor is doing it in the right way because the P2 is not using the following code, which we assume caused the issue.
// Remove any ignored blockswp.domReady(()=>{ignoreBlocks.forEach(wp.data.dispatch("core/edit-post").hideBlockTypes);});
Thank you for looking into this. I am going to drop a link to the Slack conversation to provide more context in case someone runs into this in the future. p1708980801936029-slack-C0160HSMDQV
What
We pushed D145819-code for code that seems to affect only the core editor.
Why
I am not 100% sure how those blocks are hidden in the P2 editor that opens in a modal. We want to understand how that works to ensure the issue is fixed.
I believe the P2 editor is doing it in the right way because the P2 is not using the following code, which we assume caused the issue.
How
Investigate the following in
wpcom
repo:disallowBlocks
andhiddenBlockTypes
p2editor_settings
get_p2editor_settings
cc: @taipeicoder
The text was updated successfully, but these errors were encountered: