aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/RichTextSchema.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-12 18:38:04 -0500
committerbobzel <zzzman@gmail.com>2020-12-12 18:38:04 -0500
commit0aa855ab36ead1e4669f25e2a3604e8941cf2075 (patch)
tree0ca7ebff6ec6f5bafaf28270f52223f9523ea22a /src/client/views/nodes/formattedText/RichTextSchema.tsx
parentf3f93e61f3914bd9fd6e8098a99e552f7860bc5f (diff)
fixed screenToLocal for documents within ContentFittingDoc collections. fixed embedding documents in texst docs.
Diffstat (limited to 'src/client/views/nodes/formattedText/RichTextSchema.tsx')
-rw-r--r--src/client/views/nodes/formattedText/RichTextSchema.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/RichTextSchema.tsx b/src/client/views/nodes/formattedText/RichTextSchema.tsx
index bb544e5e8..e94829769 100644
--- a/src/client/views/nodes/formattedText/RichTextSchema.tsx
+++ b/src/client/views/nodes/formattedText/RichTextSchema.tsx
@@ -14,6 +14,7 @@ import { DocumentView } from "../DocumentView";
import { FormattedTextBox } from "./FormattedTextBox";
import React = require("react");
import { CurrentUserUtils } from "../../../util/CurrentUserUtils";
+import { DefaultStyleProvider } from "../../StyleProvider";
export class DashDocView {
@@ -147,7 +148,7 @@ export class DashDocView {
PanelWidth={finalLayout[WidthSym]}
PanelHeight={finalLayout[HeightSym]}
focus={this.outerFocus}
- styleProvider={returnEmptyString}
+ styleProvider={DefaultStyleProvider}
parentActive={returnFalse}
whenActiveChanged={returnFalse}
bringToFront={emptyFunction}