We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.
Steps to reproduce
Disable all community plugins by turning safe mode on.
Say you have the following paragraph of text:
Note: I’m showing “xxx” instead of
~~~because the bug editor interprets
Say you have another paragraph of text that you want to replace with the first paragraph. Say, the second paragraph is just “replace_me”.
Select the first paragraph and copy to the clipboard.
Select the second paragraph and paste.
I would the text second paragraph to be replaced by the text from the first paragraph.
This is what the second paragraph looks like after the paste:
[replace_me](<~~~dataview list from #type/plant/flower sort file.name ~~~>)
I tried deleting parts of the first paragraph, and what I found is that the “.x” is critical. If that isn’t there, the replacement occurs correctly. Also, if you paste without selecting text to be replaced, the paste occurs correctly.
- Operating system: macOS
- Obsidian version: