aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/src/components/Editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'spring-front/src/components/Editor.js')
-rw-r--r--spring-front/src/components/Editor.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/spring-front/src/components/Editor.js b/spring-front/src/components/Editor.js
index f7c4ec5..d82a3fb 100644
--- a/spring-front/src/components/Editor.js
+++ b/spring-front/src/components/Editor.js
@@ -117,9 +117,9 @@ export default class Editor extends React.Component {
this.setState((prevState) => ({ drawerActive: !prevState.drawerActive }));
}
- render() {
- const { markdownText, drawerTitle, drawerChildren } = this.props;
- const drawerStyles = this.state.drawerActive ? "is-expanded" : "";
+ render(props) {
+ // const { markdownText, drawerTitle, drawerChildren } = this.props;
+ // const drawerStyles = this.state.drawerActive ? "is-expanded" : "";
return (
<div>
<div>
@@ -142,9 +142,7 @@ export default class Editor extends React.Component {
onKeyDown={this.handleKeyDown.bind(this)}
direction="rtl"
tabIndex="0"
- >
- {markdownText}
- </textarea>
+ ></textarea>
</div>
<div className="split right">
<div direction="rtl" id="markdown-placeholder"></div>