Skip to content

Commit

Permalink
Merge pull request #274 from vivid-planet/hotfix/rte-imports
Browse files Browse the repository at this point in the history
hotfix(rte): change import path of default exports
  • Loading branch information
dkarnutsch authored Dec 22, 2020
2 parents d6b6fc9 + 74f4ca1 commit 0349cc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/comet-admin-rte/src/core/Controls/useBlockTypes.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import FormatListBulletedIcon from "@material-ui/icons/FormatListBulleted";
import FormatListNumberedIcon from "@material-ui/icons/FormatListNumbered";
import { SupportedThings } from "@vivid-planet/comet-admin-rte/src/core/Rte";
import { ICustomBlockType, ICustomBlockTypeMap, IFeatureConfig } from "@vivid-planet/comet-admin-rte/src/core/types";
import getCurrentBlock from "@vivid-planet/comet-admin-rte/src/core/utils/getCurrentBlock";
import { DraftBlockType, Editor, EditorState, RichUtils } from "draft-js";
import * as React from "react";
import { defineMessage, FormattedMessage } from "react-intl";

import { SupportedThings } from "../Rte";
import { ICustomBlockType, ICustomBlockTypeMap, IFeatureConfig } from "../types";
import getCurrentBlock from "../utils/getCurrentBlock";
interface IProps {
editorState: EditorState;
setEditorState: (es: EditorState) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import FormatBoldIcon from "@material-ui/icons/FormatBold";
import FormatItalicIcon from "@material-ui/icons/FormatItalic";
import FormatUnderlinedIcon from "@material-ui/icons/FormatUnderlined";
import StrikethroughSIcon from "@material-ui/icons/StrikethroughS";
import { SupportedThings } from "@vivid-planet/comet-admin-rte/src/core/Rte";
import { IFeatureConfig, InlineStyleType } from "@vivid-planet/comet-admin-rte/src/core/types";
import TextFormatSub from "@vivid-planet/comet-admin-rte/src/icons/TextFormatSub";
import TextFormatSup from "@vivid-planet/comet-admin-rte/src/icons/TextFormatSup";
import { EditorState, RichUtils } from "draft-js";
import * as React from "react";
import { FormattedMessage } from "react-intl";

import TextFormatSub from "../../icons/TextFormatSub";
import TextFormatSup from "../../icons/TextFormatSup";
import { SupportedThings } from "../Rte";
import { IFeatureConfig, InlineStyleType } from "../types";

interface IProps {
editorState: EditorState;
setEditorState: (es: EditorState) => void;
Expand Down

0 comments on commit 0349cc1

Please sign in to comment.