diff options
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 732576328..3ce5c4acf 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -172,7 +172,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe              const fieldkey = "preview";              if (this.extensionDoc) this.extensionDoc.text = state.doc.textBetween(0, state.doc.content.size, "\n\n");              if (this.extensionDoc) this.extensionDoc.lastModified = new DateField(new Date(Date.now())); -            this.dataDoc[this.props.fieldKey] = new RichTextField(JSON.stringify(state.toJSON())); +            this.dataDoc[this.props.fieldKey] = new RichTextField(JSON.stringify(state.toJSON()));                          this._applyingChange = false;              let title = StrCast(this.dataDoc.title);              if (title && title.startsWith("-") && this._editorView && !this.Document.customTitle) { | 
