diff options
| author | ab <abdullah_ahmed@brown.edu> | 2019-06-20 11:17:22 -0400 |
|---|---|---|
| committer | ab <abdullah_ahmed@brown.edu> | 2019-06-20 11:17:22 -0400 |
| commit | 6259738cf77c2749f556e6d57addae8dac1b32d2 (patch) | |
| tree | edcf16c23ccbc9f19d8ae6f4189d5ad266922ed4 /src/client/views/nodes/FormattedTextBox.tsx | |
| parent | 47e125b9c7a8a61d820c013a5dd5f9cf654205af (diff) | |
moving div
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 223e6df0a..370b24e95 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -45,6 +45,7 @@ export interface FormattedTextBoxProps { hideOnLeave?: boolean; height?: string; color?: string; + outer_div?: React.RefObject<HTMLDivElement>; } const richTextSchema = createSchema({ @@ -97,6 +98,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe constructor(props: FieldViewProps) { super(props); + this.props.outer_div ? console.log("smd") : console.log("bye"); this._ref = React.createRef(); if (this.props.isOverlay) { |
