Last active
February 16, 2020 10:06
-
-
Save gustav1105/c9fbfdaff9a9752dbbc2a4b41043347c to your computer and use it in GitHub Desktop.
editor-component-imports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react"; | |
import { EditorContext } from "./EditorContext"; | |
import { | |
Box, | |
Paper, | |
TextField, | |
InputAdornment, | |
IconButton | |
} from "@material-ui/core"; | |
import { ToggleButtonGroup, ToggleButton } from "@material-ui/lab"; | |
import { Title, AddAPhoto, Link, Check } from "@material-ui/icons"; | |
import { | |
Editor, | |
EditorState, | |
Modifier, | |
getVisibleSelectionRect, | |
CompositeDecorator, | |
convertToRaw, | |
AtomicBlockUtils, | |
ContentBlock | |
} from "draft-js"; | |
import draftUtils from "draft-js-plugins-utils"; | |
import { linkStrategy } from "./linkStrategy"; | |
import { DecoratedLink } from "./DecoratedLink"; | |
import { MediaComponent } from "./MediaComponent"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment