Skip to content

Code block language selector remains editable after switching back to read mode #2615

Closed

Description

@S1RIUS1

After switching a page from edit mode back to read mode, the programming language selector in code blocks remains interactive instead of returning to a read-only state.

Steps to reproduce

  1. Open a page containing a code block.
  2. Switch to edit mode.
  3. Switch back to read mode.
  4. Click the code block’s programming language selector.

Expected behavior
The language selector should be read-only when the page is in read mode.

Actual behavior
The language selector remains interactive, allowing users to select a different programming language while in read mode.

Activity

  1. yudhapakel commented on Nov 5, 2026

    @yudhapakel

    Hi! I'd like to work on this issue. Could you please assign it to me? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions