gerhard
(Gerhard Schlager)
13.Январь.2022 20:04:18
55
Я думаю, что @simon имел в виду, что одно и то же содержимое буфера обмена доступно как в виде текста, так и в виде изображения.
Я только что протестировал это, скопировав несколько ячеек из LibreOffice Calc. В буфер обмена помещается текст с разделителями-табуляциями и изображение этих ячеек. Предполагаю, что Microsoft Excel делает то же самое.
Результат выглядит так:
колонка A колонка B
a1 b1
a2 b2

3 лайка
Так это относится только к таблицам ? Если да, то название этой темы неверное и вводящее в заблуждение, что крайне раздражает..
edit: исправил.
3 лайка
jomaxro
(Joshua Rosenfeld)
13.Январь.2022 21:57:03
57
Да, я замечал это в таблицах .
1 лайк
sam
(Sam Saffron)
02.Февраль.2022 01:50:43
58
Это, возможно, связано с изменениями в Uppy, @martin , не могли бы вы взглянуть?
2 лайка
martin
(Martin Brennan)
03.Февраль.2022 06:39:55
60
У меня есть PR для исправления этой проблемы, я объединю его завтра:
main ← issue/fix-markdown-table-pasting-uppy
merged 10:45PM - 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.
Редактирование: Этот PR теперь объединён.
6 лайков