|
@@ -51,7 +51,7 @@ export default class RevisionBody extends React.Component {
|
|
|
this.props.inputRef(elm);
|
|
this.props.inputRef(elm);
|
|
|
}
|
|
}
|
|
|
}}
|
|
}}
|
|
|
- className={this.props.type} dangerouslySetInnerHTML={this.generateInnerHtml(this.props.html)}>
|
|
|
|
|
|
|
+ className={'wiki ' + this.props.additionalClassName} dangerouslySetInnerHTML={this.generateInnerHtml(this.props.html)}>
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
@@ -63,9 +63,5 @@ RevisionBody.propTypes = {
|
|
|
isMathJaxEnabled: PropTypes.bool,
|
|
isMathJaxEnabled: PropTypes.bool,
|
|
|
renderMathJaxOnInit: PropTypes.bool,
|
|
renderMathJaxOnInit: PropTypes.bool,
|
|
|
renderMathJaxInRealtime: PropTypes.bool,
|
|
renderMathJaxInRealtime: PropTypes.bool,
|
|
|
- type: PropTypes.string,
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-RevisionBody.defaultProps = {
|
|
|
|
|
- type: 'wiki',
|
|
|
|
|
|
|
+ additionalClassName: PropTypes.string,
|
|
|
};
|
|
};
|