diff options
author | bobzel <zzzman@gmail.com> | 2023-07-05 16:15:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-07-05 16:15:27 -0400 |
commit | 5a9af979cc293d0e3843270ee053c24bf0eb6ef5 (patch) | |
tree | 1c03d5fb55a97f5e3da96a448af5079ec2b0e42b /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | bf609fdadc164da5663671a0c42c3a13056ee376 (diff) |
changed acl inheritance for docking views.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 202a9f851..e5ea8e0c1 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -564,7 +564,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps } if (added) { draggedDoc._freeform_fitContentsToBox = true; - draggedDoc.embedContainer = this.rootDoc; + Doc.SetContainer(draggedDoc, this.rootDoc); const view = this._editorView!; view.dispatch(view.state.tr.insert(view.posAtCoords({ left: de.x, top: de.y })!.pos, node)); } |