close
Skip to content

How to write "__init__.py" in Gutenberg editor #48957

@HuntZou

Description

@HuntZou

Description

I can not type some special charecters, it alway turn into formatting tag automatically, such as "init.py" turn to "init(italicized).py", what should I do to keep it original? backslash doesn't work for me.

Step-by-step reproduction instructions

  1. click "new post" with Gutenberg editor
  2. new a "paragragh" block
  3. type some thing like "xxx" or "xxx" etc.
  4. once you type right symbol, format changes.

Screenshots, screen recording, code snippet

No response

Environment info

wordpress version: 6.1.1
Site Language: en_US
Server architecture: Linux 5.4.0-126-generic x86_64
Web server: Apache/2.4.53 (Debian)
PHP version: 7.4.29 (Supports 64bit values)
plz let me know if you need more information.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions