Multiline action causes duplicated text

When commenting multiple lines with the hotkey ctrl-/, if the last line of the commented text is longer than the previous line, some of the text gets duplicated and put after the comment. Screenshots with some example text that can reproduce the behavior below.

before commenting:

after commenting:

Obsidian version 1.0.0 on Windows 10, community plugins disabled.

After a bit more testing, this is not limited to just comments. This applies to italics and bold as well

didi you try updating Themes?

your theme (something new) might need to be updated.


I’m using the default theme, with the default light color scheme, so I expect that is not the cause unless I am misunderstanding

OK :slight_smile:

does the same thing occur when you try the sandboxed vault?
trying to rule out possible causes.

Yep, still happens in sandbox

I can’t reproduce. I need exact repro steps.

Post a screen recording of this happening in the sandbox vault.

ok I managed to reproduce.

1 Like

The cursor does need to be on the empty line after the text in order for the bug to occur. If it’s at the end of the line instead, everything works well

will be fixed v1.5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.