Skip to content

Pasting table doesn't work if the R1 and C1 is empty #23

@LaurDr

Description

@LaurDr

Describe the bug
If you try to copy a table in excel, and R1 and C1 of the table is empty, the plugin doesn't paste the table formatted as a table.

To Reproduce
Steps to reproduce the behaviour:

  1. create a table with => 2 Rows and 2=> Columns in Excel
  2. leave R1 C1 empty
  3. Copy
  4. paste in obsidian.

current workaround

  1. Fill R1 C1 with any char
  2. copy and paste
  3. delete R1 C1 later on in obsidian

Expected behaviour
Even if R1 C1 is empty, the table should be formatted correctly since markdown tables supports R1 C1 being empty

Desktop (please complete the following information):

  • OS: MacOS 13.2.1
  • Version Obsidian V1.1.9

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions