@gravity-ui/dashkit 8.26.1 → 8.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -72,7 +72,7 @@ class PluginText extends react_1.default.PureComponent {
|
|
|
72
72
|
react_1.default.createElement("br", null)));
|
|
73
73
|
}
|
|
74
74
|
renderText() {
|
|
75
|
-
return (react_1.default.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), [constants_1.PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (react_1.default.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
75
|
+
return (react_1.default.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), "data-qa": this.props.qa, [constants_1.PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (react_1.default.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
76
76
|
, dangerouslySetInnerHTML: { __html: this.state.htmlText } })) : (this.state.text)));
|
|
77
77
|
}
|
|
78
78
|
async getMarkdown() {
|
|
@@ -69,7 +69,7 @@ export class PluginText extends React.PureComponent {
|
|
|
69
69
|
React.createElement("br", null)));
|
|
70
70
|
}
|
|
71
71
|
renderText() {
|
|
72
|
-
return (React.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), [PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (React.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
72
|
+
return (React.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), "data-qa": this.props.qa, [PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (React.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
73
73
|
, dangerouslySetInnerHTML: { __html: this.state.htmlText } })) : (this.state.text)));
|
|
74
74
|
}
|
|
75
75
|
async getMarkdown() {
|