Bases: Pasting a multi-line plain text block into a cell selection appends a line feed

Steps to reproduce

  1. Copy a 3-line plain-text block from a plain-text editor (VSCode, Notepad, etc.)

  2. Open the Obsidian sandbox vault.

  3. Create a new base.

  4. Create a new text property “Pasted”.

  5. Drag-select 3 cells from the “Pasted” property and hit Ctrl+P.

Did you follow the troubleshooting guide?

Yes.

Expected result

Each individual line is pasted into each individual cell without a trailing line break.

Actual result

Each individual line is pasted into each individual cell with a trailing line feed (“\r”).

Environment

SYSTEM INFO:
	Obsidian version: 1.12.7
	Installer version: 1.12.7
	Operating system: Windows 10 Pro 10.0.19045
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0

RECOMMENDATIONS:
	none


Additional information

The appended line feed is not visible in the base itself, you have to inspect the individual notes in “Source mode” to see it.

Workaround: Pasting the text block into an Obsidian note first, copying the block from here and then pasting it into the cell selection prevents the line feeds from being appended.