mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Block Editor: Display notice to the user when JavaScript is disabled.
Currently, when viewing the block editor with JavaScript disabled, the user sees a blank admin page with the admin menu sidebar. This adds an admin notice informing the user that JavaScript is required for the new block editor. Props mkaz, pento, azaozz, ocean90, desrosj. Fixes #45453. git-svn-id: https://develop.svn.wordpress.org/trunk@44437 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -560,6 +560,10 @@ code {
|
||||
margin: 10px 20px 0 2px;
|
||||
}
|
||||
|
||||
.wrap.block-editor-no-js {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
|
||||
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
|
||||
.postbox .inside h2, /* Back-compat for pre-4.4 */
|
||||
|
||||
Reference in New Issue
Block a user