migrate to new slate packages
This commit is contained in:
parent
2beb7d256b
commit
a5c1bb2bff
@ -160,6 +160,8 @@
|
||||
"slate": "^0.24.0",
|
||||
"slate-edit-list": "^0.8.0",
|
||||
"slate-edit-table": "^0.11.0",
|
||||
"slate-plain-serializer": "^0.1.10",
|
||||
"slate-react": "^0.1.10",
|
||||
"slate-soft-break": "^0.4.0",
|
||||
"slug": "^0.9.1",
|
||||
"toml-j0.4": "^1.1.1",
|
||||
|
@ -1,6 +1,7 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
import { Editor as Slate, Plain } from 'slate';
|
||||
import { Editor as Slate } from 'slate-react';
|
||||
import Plain from 'slate-plain-serializer';
|
||||
import { debounce } from 'lodash';
|
||||
import Toolbar from '../Toolbar/Toolbar';
|
||||
import { Sticky } from '../../../../UI/Sticky/Sticky';
|
||||
|
@ -1,7 +1,8 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import { get, isEmpty, debounce } from 'lodash';
|
||||
import { Editor as Slate, State, Document, Block, Text } from 'slate';
|
||||
import { State, Document, Block, Text } from 'slate';
|
||||
import { Editor as Slate } from 'slate-react';
|
||||
import { slateToMarkdown, markdownToSlate, htmlToSlate } from '../../serializers';
|
||||
import registry from '../../../../../lib/registry';
|
||||
import Toolbar from '../Toolbar/Toolbar';
|
||||
|
Loading…
x
Reference in New Issue
Block a user