Triple click to select block and then applying styling is buggy

Steps to reproduce

After pasting text into Obsidian from a web source, selecting a block of that text behaves differently when using triple click vs click-and-pull

Expected result

Triple clicking a block of text should select it and one should then be able to apply styling with a shortcut (e.g. CMD + B)

Actual result

The inserted characters for styling (e.g. β€œ**” for bold styling) connect the selected block of text with the next one, causing the styling to be applied to all subsequent text

Environment

  • Operating system: Windows 10
  • Obsidian version: v0.7.3
  • Using custom CSS: No

Additional information

pull to select, then apply styling

triple click to select, then apply styling

1 Like

Thought I was the only one having this problem! Why does triple-click select the current line like it’s supposed to, AND then start on the next line down?

You’re right, this totally messes up styling.

I have double checked this issue and I discovered that this is actually the standard behavior among code editor. The rationale is that when you do heavy copy-pasting of lines/paragraphs retaining the carriage return (CR) helps. VScode and Notepad++ do the same.
I am going to close this issue.

Regarding the bug with bolding, follow this:

https://forum.obsidian.md/t/bold-italics-select-line-strange-behaviour/33048

1 Like

starting with 0.13.27 triple click will not select the new line.

1 Like