Skip to content

Commit

Permalink
Add id search
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Nov 25, 2023
1 parent e204a4f commit 5b37814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input-panel/spec-editor/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class Editor extends React.PureComponent<Props> {
prevProps.editorRef && prevProps.editorRef.deltaDecorations(prevProps.decorations, []);
}

if (this.props.parse) {
if (this.editor && this.props.parse) {
this.editor.focus();
this.editor.layout();
this.updateSpec(this.props.value, this.props.configEditorString);
Expand Down

0 comments on commit 5b37814

Please sign in to comment.