Closed morrica01 closed 10 years ago
After a long research, I found a solution to this issue. Basically the idea was show in the property windows of Visual Studios a plain text of the Description field, but when the Editor is open, shows the text with the same style as the web application ("open in VersionOne" action in the context menu) and after click ok save the style but show only a plain text in property windows.
To accomplish that I add some code in WorkitemPropertyDescriptor.cs
so every time that the Description property is required to been shows in the property windows I remove the HTML code, and when the editor is open I call to a new method to get the value of the Description with the style in in RichTextTypeEditor.cs
.
As a developer in Visual Studio, I want to quickly and easily understand the work assigned to me so that I can get on with writing code. When the description field is already relatively hidden and what is shown contains raw HTML code, then it gets in the way of my quick and easy understanding.
Steps to Reproduce:
Properties
option from the context menu.Description
field.OK
. Notice: The HTML tags in the description.Acceptance Criteria
Description
field strips HTML tags from display.Description
field still shows HTML.Description
field saves HTML tags correctly.