Remove Unused Html Content Renderer Extensibility (#28760)

* Remove Unused Html Content Renderer Extensibility

Removes a few options from the html content renderer that are currently not used

* Fix messageList
This commit is contained in:
Matt Bierner
2017-06-15 10:21:43 -07:00
committed by GitHub
parent 528682cd60
commit 324cd2ac55
6 changed files with 11 additions and 103 deletions

View File

@@ -85,12 +85,8 @@ export interface IHTMLContentElement {
formattedText?: string;
text?: string;
className?: string;
style?: string;
customStyle?: any;
tagName?: string;
inline?: boolean;
children?: IHTMLContentElement[];
isText?: boolean;
role?: string;
markdown?: string;
code?: IHTMLContentElementCode;
}
@@ -113,11 +109,7 @@ function htmlContentElementEqual(a: IHTMLContentElement, b: IHTMLContentElement)
a.formattedText === b.formattedText
&& a.text === b.text
&& a.className === b.className
&& a.style === b.style
&& a.customStyle === b.customStyle
&& a.tagName === b.tagName
&& a.isText === b.isText
&& a.role === b.role
&& a.inline === b.inline
&& a.markdown === b.markdown
&& htmlContentElementCodeEqual(a.code, b.code)
&& htmlContentElementArrEquals(a.children, b.children)