Skip to content

JSON Editor Becomes Read-Only After Using "Find and Replace" #3679

@keeganedwin

Description

@keeganedwin

Describe the bug
When editing tokens in the JSON editor within the plugin, using the Find and Replace functionality causes the editor to enter a read-only mode. Users can no longer make any changes until they close and reopen the plugin.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Tokens Studio plugin and navigate to the JSON editor
  2. Use the "Find and Replace" feature (e.g., ⁠Cmd+F or ⁠Ctrl+F)
  3. Enter a keyword to find and a term to replace it with
  4. Execute the replacement
  5. See error

Expected behavior
The JSON editor should remain fully editable after a "Find and Replace" operation is completed. The act of finding and replacing text should not trigger a read-only state.

Screenshots or Screencasts
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📥 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions