Issues pasting plain text into Agenda

Hiya. I am running into an issue when I attempt to paste plain text content into an Agenda note. I don’t see any reports of this but from 2018.

  • Version: 22.3 (393) - Mac App Store
  • Device: MacBook Pro M4 Max
  • OS: 15.7.4 (24G517)

Steps:

  • Copy plain text from text editor (tried Obsidian and Coteditor with same results)
  • Paste text into Agenda.app

Symptoms:

  • At first I thought this was causing a crash, but it turns out it is just really slow.
  • The content in Agenda does not appear as expected (see below).

Source text

**Action Items**

| **Owner** | Task                                                    | Due             | Reference Transcript Segment                            | Segment Time stamp |
| --------- | ------------------------------------------------------- | --------------- | ------------------------------------------------------- | ------------------ |
| Speaker   | Lores gypsum dolor sit met it sumo facet re constitute. | Not specified   | Lores gypsum dolor sit met it sumo facet re constitute. | [02:07]-[06:39]    |
| Speaker   | Lores gypsum dolor sit met it sumo facet re constitute. | Over the summer | Lores gypsum dolor sit met it sumo facet re constitute. | [07:01]-[08:48]    |
| Both      | Lores gypsum dolor sit met it sumo facet re constitute. | Over the summer | Lores gypsum dolor sit met it sumo facet re constitute. | [08:48]-[09:21]    |
| Speaker   | Lores gypsum dolor sit met it sumo facet re constitute. | June 1st-ish    | Lores gypsum dolor sit met it sumo facet re constitute. | [10:00]-[10:33]    |

**Discussion Highlights**

Lores gypsum dolor sit met it sumo facet re constitute.

Result in Agenda

Notice that the Discussion Highlights appears above the table in Agenda, but it is below the table in the source code. Perhaps this has something to do with how table annotations are processed?

I think what’s happening is that we are parsing the markdown table in the pasted text, and the reordering is a side effect of how the table gets imported. The slowness could also be related to the table parsing.

Could you try pasting with Edit > Paste as Plain Text (Shift+Option+Cmd+V)? That should bypass the markdown parsing and just paste the raw text.

We’ll take a look at why the ordering gets mixed up during the table import. Thanks for reporting it!