mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fixing the markdown css bug
This commit is contained in:
parent
5ce7d856fb
commit
0b72290f6a
1 changed files with 3 additions and 2 deletions
|
@ -28,11 +28,12 @@ export default React.createClass({
|
|||
${value}
|
||||
}`;
|
||||
lessC.render(lessSrc, { compress: true }, (e, output) => {
|
||||
const parts = { markdown_less: value };
|
||||
if (output) {
|
||||
this.props.onChange({ markdown_css: output.css });
|
||||
parts.markdown_css = output.css;
|
||||
}
|
||||
this.props.onChange(parts);
|
||||
});
|
||||
this.props.onChange({ markdown_less: value });
|
||||
},
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue