diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-11-28 01:04:59 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-11-28 01:04:59 -0500 |
commit | 68f49ef5daf3bf5c47d1d21c8f1cd2097947d071 (patch) | |
tree | 233036ff1ac8c6ce07e2754f5c436f14614307a9 /src/client/util/RichTextSchema.tsx | |
parent | cb8d81b4a0963004ecc60122783716ce8a587d0b (diff) |
small fixes to text for nested prosemirrors and firefox.
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 0a717dff1..506c9767f 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -684,6 +684,7 @@ export class DashDocView { DocServer.GetRefField(node.attrs.docid).then(async dashDoc => { if (dashDoc instanceof Doc) { self._dashDoc = dashDoc; + dashDoc.hideSidebar = true; if (node.attrs.width !== dashDoc.width + "px" || node.attrs.height !== dashDoc.height + "px") { view.dispatch(view.state.tr.setNodeMarkup(getPos(), null, { ...node.attrs, width: dashDoc.width + "px", height: dashDoc.height + "px" })); } |