ganesshkumar / obsidian-table-editor

An Obsidian plugin to provide an editor for Markdown tables. It can open CSV data and data from Microsoft Excel, Google Sheets, Apple Numbers and LibreOffice Calc as Markdown tables from Obsidian Markdown editor.
MIT License
216 stars 15 forks source link

[BUG] Crash when pasting in rich text #51

Open acook opened 1 year ago

acook commented 1 year ago

Describe the bug

Hard locks all of Obsidian if you happen to put certain types of rich text into the table editor.

To Reproduce Steps to reproduce the behavior:

  1. Copy data from a Google Sheet
  2. Paste it into a field in the table editor
  3. Click copy to markdown

Expected behavior Preferably, it would take the pasted table and parse it and put in the correct data in rows and columns.

Actual Behavior Dumps rich text into a single cell and locks up Obsidian.

Desktop (please complete the following information):

Additional context Haven't tested with other rich text sources than Google Sheets.

I restarted Obsidian and the Markdown Table Editor sidebar popped up next to the normal sidebar. 2 sidebars!