diff --git a/package.json b/package.json index 8eb42be8..38cf8b04 100644 --- a/package.json +++ b/package.json @@ -100,11 +100,7 @@ "classnames": "^2.2.5", "dateformat": "^1.0.12", "deep-equal": "^1.0.1", - "deepmerge": "^1.5.0", "fuzzy": "^0.1.1", - "hast-util-from-string": "^1.0.0", - "hast-util-sanitize": "^1.1.1", - "hast-util-to-mdast": "^1.2.0", "history": "^2.1.2", "immutability-helper": "^2.0.0", "immutable": "^3.7.6", @@ -114,7 +110,6 @@ "jwt-decode": "^2.1.0", "localforage": "^1.4.2", "lodash": "^4.13.1", - "markup-it": "^2.0.0", "material-design-icons": "^3.0.1", "mdast-util-definitions": "^1.2.2", "mdast-util-to-string": "^1.0.4", @@ -151,29 +146,19 @@ "redux-notifications": "^2.1.1", "redux-optimist": "^0.0.2", "redux-thunk": "^1.0.3", - "rehype-minify-whitespace": "^2.0.0", "rehype-parse": "^3.1.0", - "rehype-raw": "^1.0.0", - "rehype-react": "^3.0.0", "rehype-remark": "^2.0.0", - "rehype-sanitize": "^2.0.0", "rehype-stringify": "^3.0.0", - "remark-html": "^6.0.0", "remark-parse": "^3.0.1", "remark-rehype": "^2.0.0", "remark-stringify": "^3.0.1", - "selection-position": "^1.0.0", "semaphore": "^1.0.5", - "slate": "^0.20.6", - "slate-drop-or-paste-images": "^0.2.0", + "slate": "^0.21.0", "slate-edit-list": "^0.7.1", "slate-edit-table": "^0.10.1", "slug": "^0.9.1", - "textarea-caret-position": "^0.1.1", "unified": "^6.1.4", "unist-builder": "^1.0.2", - "unist-util-map": "^1.0.3", - "unist-util-modify-children": "^1.1.1", "uuid": "^2.0.3", "whatwg-fetch": "^1.0.0" }, diff --git a/src/components/Widgets/Markdown/serializers/remarkSlate.js b/src/components/Widgets/Markdown/serializers/remarkSlate.js index bc53ac66..0064365e 100644 --- a/src/components/Widgets/Markdown/serializers/remarkSlate.js +++ b/src/components/Widgets/Markdown/serializers/remarkSlate.js @@ -1,6 +1,5 @@ import { get, isEmpty, isArray } from 'lodash'; import u from 'unist-builder'; -import modifyChildren from 'unist-util-modify-children'; /** * Map of MDAST node types to Slate node types.