gerhard
(Gerhard Schlager)
13 Enero, 2022 20:04
55
Creo que @simon quiso decir que el mismo contenido del portapapeles está disponible como texto e imagen.
Lo acabo de probar copiando varias celdas de LibreOffice Calc. Pone texto delimitado por tabulaciones y una imagen de las celdas en el portapapeles. Supongo que Microsoft Excel hace lo mismo.
El resultado es este:
columna A columna B
a1 b1
a2 b2

3 Me gusta
¿Entonces esto es específico de tablas ? Si es así, este tema tiene un título muy incorrecto y engañoso, lo cual es extremadamente molesto…
edición: arreglado.
3 Me gusta
jomaxro
(Joshua Rosenfeld)
13 Enero, 2022 21:57
57
Sí, he estado viendo esto con tablas .
1 me gusta
sam
(Sam Saffron)
2 Febrero, 2022 01:50
58
Esto podría estar relacionado con los cambios de uppy @martin , ¿puedes echar un vistazo?
2 Me gusta
martin
(Martin Brennan)
3 Febrero, 2022 06:39
60
Tengo una PR para arreglar esto, la fusionaré mañana:
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: Esta PR ya ha sido fusionada.
6 Me gusta