Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] clipboard api pasting brings html markup instead of json string only #55

Open
marabesi opened this issue Nov 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@marabesi
Copy link
Owner

Describe the bug
Whenever copying the json from another browser or even from code editor (that has some style embedded) the pasted json shows html markup that shouldn't appear.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to any web browser that formats json (that is not the json-tool)
  2. write some json to be formatted
  3. copy it with the keyboard shortcut
  4. Go to the json-tool
  5. click on the button to paste json from clipboard

Expected behaviour
See the json string formatted without additional text

Current behaviour
Currently the tool shows a markup that is not part of the json, probably it is something to keep the format from the place where it was copied

@marabesi marabesi added the bug Something isn't working label Nov 12, 2023
@marabesi marabesi self-assigned this Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant