diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/views/nodes/ImageBox.tsx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/views/nodes/ImageBox.tsx b/src/views/nodes/ImageBox.tsx index 5c0db6cab..4535cef98 100644 --- a/src/views/nodes/ImageBox.tsx +++ b/src/views/nodes/ImageBox.tsx @@ -1,20 +1,10 @@ -import { action, IReactionDisposer, reaction } from "mobx"; -import { baseKeymap } from "prosemirror-commands"; -import { history, redo, undo } from "prosemirror-history"; -import { keymap } from "prosemirror-keymap"; -import { schema } from "prosemirror-schema-basic"; -import { EditorState, Transaction } from "prosemirror-state"; -import { EditorView } from "prosemirror-view"; -import { Document } from "../../fields/Document"; -import { Opt } from "../../fields/Field"; -import { Key, KeyStore } from "../../fields/Key"; -import { TextField } from "../../fields/TextField"; + +import Lightbox from 'react-image-lightbox'; +import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app import { SelectionManager } from "../../util/SelectionManager"; -import { DocumentView, DocumentFieldViewProps } from "./DocumentView"; +import { DocumentFieldViewProps } from "./DocumentView"; import "./ImageBox.scss"; import React = require("react") -import Lightbox from 'react-image-lightbox'; -import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app interface ImageBoxState { photoIndex: number, |