You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An exception is thown when you select a table with Ctrl+A and try to copy it afterwards.
Can you reproduce the issue?
Steps to reproduce
Create a table
Select a cell (with text) and press Ctrl+A to select the whole cell/text
Press Ctrl+C
Expected behavior:
The cell context should be copied.
Actual behavior:
An exception is thrown:
renderer.js:21 Uncaught TypeError: Cannot read property 'replace' of undefined
at escapeText (//src/muya/lib/utils/exportMarkdown.js:290)
at map (//src/muya/lib/utils/exportMarkdown.js:293)
at Array.map (<anonymous>)
at Er.normalizeTable (//src/muya/lib/utils/exportMarkdown.js:293)
at Er.translateBlocks2Markdown (//src/muya/lib/utils/exportMarkdown.js:71)
at Er.generate (//src/muya/lib/utils/exportMarkdown.js:32)
at $r.docCopyHandler (//src/muya/lib/contentState/copyCutCtrl.js:248)
at HTMLBodyElement.i (//src/muya/lib/eventHandler/clipboard.js:16)
Activity