|
@@ -126,8 +126,8 @@ export default class ScriptEditor extends React.Component<any, any> {
|
|
|
);
|
|
|
editor.setSize(null, '100%');
|
|
|
const template = getEditorTemplate(this.props);
|
|
|
- const value = this.props.scriptText.trim();
|
|
|
- editor.setValue(value ? value : template);
|
|
|
+ // const value = this.props.scriptText.trim();
|
|
|
+ editor.setValue(template);
|
|
|
this.setState({ editor });
|
|
|
}
|
|
|
|