Bug: Copying and pasting codeblocks from reading mode retains line numbers and icons #23
Labels
bug
Something isn't working
help wanted
Extra attention is needed
reading mode
Relevant to Obsidian reading mode
Describe the bug
Selecting codeblocks, copying and then pasting in reading mode includes line numbers and header titles and header icons
Steps to reproduce
Create a codeblock, copy it in reading mode and paste it in editing mode.
Expected behaviour
Only the codeblock content inside a codeblock (or at most the codeblock parameters) should be pasted
Current behaviour
The line numbers are pasted as code as well as the header content (icons, titles, language tags).
Environment
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: