gerhard
(Gerhard Schlager)
Janeiro 13, 2022, 8:04pm
55
Eu acho que @simon quis dizer que o mesmo conteúdo da área de transferência está disponível como texto e imagem.
Acabei de testar copiando várias células do LibreOffice Calc. Ele coloca texto delimitado por tabulação e uma imagem das células na área de transferência. Presumo que o Microsoft Excel faça o mesmo.
O resultado é este:
coluna A coluna B
a1 b1
a2 b2

3 curtidas
Então isso é específico para tabelas? Se for, este tópico tem um título muito incorreto e enganoso, o que é extremamente irritante..
editar: corrigido.
3 curtidas
jomaxro
(Joshua Rosenfeld)
Janeiro 13, 2022, 9:57pm
57
Sim, tenho visto isso com tabelas .
1 curtida
sam
(Sam Saffron)
Fevereiro 2, 2022, 1:50am
58
Isso pode estar relacionado às alterações do uppy, @martin , você pode dar uma olhada?
2 curtidas
martin
(Martin Brennan)
Fevereiro 3, 2022, 6:39am
60
Tenho um PR para corrigir isso, irei mesclá-lo amanhã:
main ← issue/fix-markdown-table-pasting-uppy
opened 05:22AM - 03 Feb 22 UTC
When changing to uppy for file uploads we forgot to add
these conditions to the… paste event from 9c96511ec47bf0eb450a0b7e15738d284ee3761f
Basically, if you are pasting more than just a file (e.g. text,
html, rtf), then we should not handle the file and upload it, and
instead just paste in the text. This causes issues with spreadsheet
tools, that will copy the text representation and also an image
representation of cells to the user's clipboard.
This also moves the paste event for composer-upload-uppy to the
element found by the `editorClass` property, so it shares the paste
event with d-editor (via TextareaTextManipulation), which makes testing
this possible as the ember paste bindings are not picked up unless both
paste events are on the same element.
Editar: Este PR já foi mesclado.
6 curtidas