复制为HTML [英] Copy as HTML

查看:143
本文介绍了复制为HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在内部使用TFS 2017更新1。

I'm using TFS 2017 update 1 on premises.

请帮我正确使用"复制为HTML" ?

Could you please help me to properly use the "Copy as HTML" ?

我使用描述工作项字段作为HTML类型,即:

I'm using Description workitem field as HTML type, i.e.:

< FIELD name =" Description" refname = QUOT; System.Description" type =" HTML">

<FIELD name="Description" refname="System.Description" type="HTML">

我在哪里使用"复制为HTML"在TFS backlog web界面中,结果我在剪贴板中获得了我的工作项的描述字段的副本,包括所有HTML标记。问题是我无法使用此标签来格式化任何
电子邮件客户端(我尝试使用Outlook,Thunderbird等)或其他应用程序中的文本,如第3点所述:  https ://www.visualstudio.com/en-us/docs/work/track/share-plans#copy-formatted-list-of-work-items。描述文本仍然充满了html标签
因此不可读!!!

Where I use "Copy as HTML" in TFS backlog web interface, as result I obtain in my clipboard a copy of Description field of my workitems including all HTML tags. The problem is that I'm not able to use this tags in order to format the text in any email client (I tryed Outlook, Thunderbird etc.) or other applications as described in point 3. here:  https://www.visualstudio.com/en-us/docs/work/track/share-plans#copy-formatted-list-of-work-items . The text of description remains full of html tags and therefore unreadable!!!

例如,如果我粘贴结果"复制为HTML"我在这个HTML表单中的工作项目(随机选择)得到了这个结果:

As example, if I paste the result of "Copy as HTML" of a my workitem (randomly chosen) here in this HTML form I obtain this result:

< / div>< div>< br>< / div>< div> ;< div>作为我想要的用户...以便......< / div>< div>< br>< / div>< div>

</div><div><br></div><div><div>As User I want ... so that ...</div><div><br></div><div>

In结论"复制为HTML"不适用于声明为HTML类型的System.Description。

请更正此无效错误,因为它会使TFS对用户不友好。

Please correct this invalidating error since it makes TFS very user-unfriendly.

推荐答案

您好Francesco Sclano,

Hi Francesco Sclano,

感谢您发布此处。

根据我机器上的测试,我得到与你相同的结果。我们现在无法更改字段类型,默认情况下它将复制为带标记的HTML。作为一种解决方法,您可以在Excel中打开包含描述字段的工作项,然后将工作表从
Excel复制到您的应用程序(如outlook),它在我的Outlook中运行良好。

According to the test in my machine, I get the same result as you. We could not change the field type now, it will copy as HTML with tags by default. As a workaround, you could open the work items with description field in Excel, then copy the sheet from Excel to your application like outlook, it worked well in my outlook.

最好的问候

Limitxiao Gao

Limitxiao Gao


这篇关于复制为HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆