gerhard
(Gerhard Schlager)
Janvier 13, 2022, 8:04
55
Je pense que @simon voulait dire que le même contenu du presse-papiers est disponible sous forme de texte et d’image.
Je viens de tester en copiant plusieurs cellules de LibreOffice Calc. Il place du texte délimité par des tabulations et une image des cellules dans le presse-papiers. Je suppose que Microsoft Excel fait de même.
Le résultat est le suivant :
colonne A colonne B
a1 b1
a2 b2

3 « J'aime »
Ceci est donc spécifique aux tableaux ? Si c’est le cas, ce sujet a un titre très incorrect et trompeur, ce qui est extrêmement ennuyeux…
edit : corrigé.
3 « J'aime »
jomaxro
(Joshua Rosenfeld)
Janvier 13, 2022, 9:57
57
Oui, j’ai vu ça avec des tableaux .
1 « J'aime »
sam
(Sam Saffron)
Février 2, 2022, 1:50
58
Cela pourrait être lié aux changements d’uppy @martin , pouvez-vous y jeter un coup d’œil ?
2 « J'aime »
martin
(Martin Brennan)
Février 3, 2022, 6:39
60
J’ai une PR pour corriger cela, je la fusionnerai demain :
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.
Edit : Cette PR a maintenant été fusionnée.
6 « J'aime »