diff options
| author | andrewdkim <adkim414@gmail.com> | 2019-08-05 17:37:43 -0400 |
|---|---|---|
| committer | andrewdkim <adkim414@gmail.com> | 2019-08-05 17:37:43 -0400 |
| commit | 62a34043949f051533ca549be48b774696331d43 (patch) | |
| tree | 9238dac2bed5eb19724ef63db848617e661e7eb9 /src/client/views/nodes/FormattedTextBox.tsx | |
| parent | bf3d45f8a16d23384a308f65adfa9a2baee495af (diff) | |
richtext + buttons
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 9b37a6491..03fa7f0cd 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -166,8 +166,6 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe 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.props.Document.stateData = JSON.stringify(state.toJSON()); - this.props.Document.dataDocTest = this.dataDoc[this.props.fieldKey]; this._applyingChange = false; let title = StrCast(this.dataDoc.title); if (title && title.startsWith("-") && this._editorView && !this.Document.customTitle) { |
