From 8c4e20892671946012d28a1db78a2ac63bb369fc Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 15 May 2024 07:31:10 -0400 Subject: removing console logs, unused code and text color changing --- .../views/nodes/formattedText/FormattedTextBox.tsx | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 34f03399a..94227a927 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -67,8 +67,6 @@ import { RichTextMenu, RichTextMenuPlugin } from './RichTextMenu'; import { RichTextRules } from './RichTextRules'; import { schema } from './schema_rts'; import { SummaryView } from './SummaryView'; -import { isDarkMode } from '../../../util/reportManager/reportManagerUtils'; -import Select from 'react-select'; // import * as applyDevTools from 'prosemirror-dev-tools'; interface FormattedTextBoxProps extends FieldViewProps { @@ -1201,24 +1199,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent width && layout_autoHeight && this.resetNativeHeight(scrollHeight), { fireImmediately: true } ); - this._disposers.bgColor = reaction( - () => this.Document._backgroundColor, - color => this.checkBackgroundColor() - ); this._disposers.componentHeights = reaction( // set the document height when one of the component heights changes and layout_autoHeight is on () => ({ sidebarHeight: this.sidebarHeight, textHeight: this.textHeight, layout_autoHeight: this.layout_autoHeight, marginsHeight: this.layout_autoHeightMargins }), -- cgit v1.2.3-70-g09d2