diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-28 13:39:23 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-28 13:39:23 -0500 |
| commit | df2fc3f11e3b474144db5062620c9f65ca857203 (patch) | |
| tree | 1f42a5f33a63c530f2231fdbd42dc930100b736a /src/client/views/nodes/WebBox.tsx | |
| parent | fa6214e763fc341ad355c95424ae76f14450d8ce (diff) | |
fixed youtube uploads, cleaned up a bunch of imports and added some typings files.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
| -rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 57045e2af..2522a674d 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -1,4 +1,5 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { htmlToText } from 'html-to-text'; import { action, computed, IReactionDisposer, makeObservable, observable, ObservableMap, reaction, runInAction } from 'mobx'; import { observer } from 'mobx-react'; import * as React from 'react'; @@ -39,7 +40,6 @@ import { PinProps, PresBox } from './trails'; import './WebBox.scss'; const { CreateImage } = require('./WebBoxRenderer'); const _global = (window /* browser */ || global) /* node */ as any; -const htmlToText = require('html-to-text'); @observer export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps & FieldViewProps>() { public static LayoutString(fieldKey: string) { |
