user2
(Tony)
2019 年10 月 16 日 08:53
1
Hello,
So I’ve just upgraded from Office 2013 to Office 365.
Now when I copy cells from Excel 365 to Discourse I get an image and plain text.
When I copy from Excel 2013 I get Discourse cells in my post, I liked this but can’t get that now with 365.
Any clue how I can fix this?
Excel 365:
Some test
of cells
Excel 2013:
5 个赞
sam
(Sam Saffron)
2019 年10 月 17 日 06:13
2
I believe @vinothkannans has fixed similar issues in the past, the tricky thing is that office loves putting lots and lots of different formats in the clipboard and it is hard to find the right one.
5 个赞
这是我的版本
演示表格
粘贴后的结果
 some test of cells
| some |test|
|—|—|
|of |cells|
@vinothkannans 你应该重新检查这个问题。
5 个赞
此问题应已通过 @j.jaffeux 的 开放 PR 修复。
codinghorror:
| 一些 |测试|
|—|—|
|的 |单元格|
它包含一个 Markdown 表格和图像的组合
这与上述问题是否是不同的复制/粘贴问题?
4 个赞
这是 Windows 10 的行为。不清楚 Mac 的行为是怎样的。
6 个赞
jomaxro
(Joshua Rosenfeld)
2020 年1 月 9 日 19:59
7
我在 Excel 中遇到这个问题已经好几个月了。Google Drive 运行正常,所以我需要粘贴表格时,会先从 Excel 复制到 Google,再转到 Discourse。我确信有一个相关的公开 bug,但暂时找不到。
8 个赞
sam
(Sam Saffron)
2020 年1 月 9 日 23:42
8
我认为 Windows 喜欢将内容存放在与多种类型关联的多个剪贴板区域中。我们的 JS 代码需要能够处理这种情况,并且始终只选取一个剪贴板区域。
我们目前已经尝试每次只选取一种格式:
但也许我们在此处同时也粘贴了图片,因此可能需要添加一段代码,类似于:“嗨……我这里只有文本……请忽略图片。”
4 个赞
我也遇到了同样的问题,发现这个方案在 Excel 365 上运行良好:
Copy a table in Excel (or other spreadsheet programs) and paste it as a Markdown table
或许可以将其中一些代码用于 Discourse。
4 个赞
@vinothkannans 请问我们能否在发布日期前推进这项工作?
7 个赞
committed 05:43PM - 12 Feb 20 UTC
Previously, while pasting from Excel 365 it uploaded a table image instead of ma… rkdown table.
上述提交应能解决此问题。现在,如果纯文本选项可用,我们将不再包含上传内容。@user2 能否请您确认一下?
12 个赞
sam
(Sam Saffron)
2020 年2 月 12 日 22:27
13
测试 LibreOffice:
好莱坞
好吧
银幕
一般
表演
牙齿
大理石
员工
恐龙
比尔
猫
镜头
投球
国王
邦德
平底锅
太棒了
问题非常微小且无法解决。我们无条件地将第一行视为“标题”,而实际上我们可能只是在粘贴数据。只需稍微多做一些剪切和粘贴操作即可解决,因此我并不认为这会引发什么大问题。
6 个赞
Remah:
它似乎只有在是多列或多行时才会被当作表格处理。
是的,我当初开发这个功能时是有意这样做的。现在我只是忘了原因了
不过,我稍后会检查一下代码。
Remah:
一个项目符号列表:
混合文本:
密码管理器:
抱歉,我无法理解这些报告。
9 个赞
Remah
(Just another happy Discourse user)
2020 年2 月 13 日 07:03
16
我并不是在报告问题,只是想说明它同样能正确处理文本,并且不会因 Markdown 字符(例如星号列表项 * )而产生任何问题。
5 个赞