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

can't easily edit the codeblocks in live preview #1

Closed
3 of 7 tasks
KraXen72 opened this issue Mar 29, 2024 · 2 comments
Closed
3 of 7 tasks

can't easily edit the codeblocks in live preview #1

KraXen72 opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KraXen72
Copy link

  • The Plugin is up to date
  • Obsidian is up to date

Describe the bug
In live preview, there is only a copy button, covering the edit button.
clicking on the codeblock does not turn it into an editable thing.

To Reproduce
add a codeblock, turn on the plugin, go to Live Preview

Expected behavior
clicking on the codeblock should go into edit more.
Or, move the copy code button elsewhere, so it doesen't obscure the edit button.

Screenshots

Occurs on

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Plugin version
0.2.1

Additional context

@KraXen72 KraXen72 added the bug Something isn't working label Mar 29, 2024
@mProjectsCode
Copy link
Owner

clicking on the codeblock does not turn it into an editable thing.

That is by design, allowing you to freely select text in the code block.

In live preview, there is only a copy button, covering the edit button.

I will try to move the copy button.

@mProjectsCode
Copy link
Owner

I moved the copy button to the lower right corner

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

2 participants