Skip to content

Edit site in code editor mode  #60958

@DSGND

Description

@DSGND

Description

  • When "Edit site", and switching to "Code Editor", the background is black.
  • In my custom theme, textarea are transparent, so black texts are on black background, and are unreadable
  • Disable min-height in .edit-site-code-editor seems to fix the issue

Step-by-step reproduction instructions

  1. Go "Edit site"
  2. Choose any template to edit
  3. Switch to "Code Editor"

Screenshots, screen recording, code snippet

wp-edit-site-code-editor-height.mp4

Environment info

  • Issue is reproduced on Playground WP 6.5, 6.4, 6.3, 6.2
  • There's no issue on Playground WP 6.1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions