Clicking out of multiline property value selects random text in note

Steps to reproduce

  1. Open the sandbox vault
  2. Add a property with the value consisting of multiple lines, for example
line1
line2
line3
line4
line5
line6
  1. Click in that property value
  2. Click outside in various places in the “Start here” note.

Did you follow the troubleshooting guide?

Y

Expected result

No text should be selected.

Actual result

Clicking out of multiline property value selects random text in note

Environment

SYSTEM INFO:
	Obsidian version: v1.10.3
	Installer version: v1.10.3
	Operating system: #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct  7 13:34:17 UTC 2025 6.17.0-6-generic
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

I can reproduce on MacOS, Sandbox, v1.10.2

No drag; a single pixel click results in a shifted text selection, offset by how much the display shrunk by the property collapsing. The longer the property, the bigger the selection.

This seems mildly related to the way Live Preview shifts text as you edit. For example, if you have a line with This is a sandbox ***vault*** in which you can test various functionalities of Obsidian. and you try to double click another word to format it, the caret will jump.

A single click works - unlike this bug where a single click shifts - but the double click will jump. And I say this is related, because the display collapse should likely happen after the user’s mouse action has had time to complete.

CaretShift

2 Likes

How do you create a multi-line text property that is not a list? Could someone share the syntax? This doesn’t work.

---
mlp: 
line1
line2
line3
line4
line5
line6
---

Hitting shift-enter lets you put a newline inside the text.

The source ends up looking like this, with an extra |- symbol, I guess:

edit: And the indentation also seems important.

---
Testing: |-
  There
  Are
  Multiple
  Lines
  Here
---
2 Likes

Now I get it. Thanks.

1 Like

Unlike the OP’s screenshot, I see the multiple lines condensed into a single line. The text doesn’t jump around. :person_shrugging:t2:

lostinbase:
You’re missing the block indicator that rigmarole showed: |-

When you use shift-enter while in Live Preview or Reading, that’s when Obsidian creates the indicator for you. In source mode, you have to type it yourself.

3 Likes

Thank you. Didn’t know what the | was, and was using source mode. Two valuable lessons learned. :folded_hands:

thanks