Shawn Erquhart
516a5e4c7f
improve markdown editor serialization debounce
2017-09-26 15:52:50 -04:00
Caleb
654f844b86
Upgrade to seperate React prop-types
library.
...
`propTypes` was seperated/depreciated from React as of 15.5.0:
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-09-09 20:16:19 -06:00
Shawn Erquhart
c25a7c4abb
debounce markdown editor change handler
2017-09-01 15:16:51 -04:00
Shawn Erquhart
4821959951
remove markdown widget serializers
2017-09-01 15:16:51 -04:00
Shawn Erquhart
9dcda7b0b9
organize serializers
2017-08-25 16:31:09 -04:00
Shawn Erquhart
6377d8c73e
initial refactor, some bugfixes
2017-08-25 16:30:39 -04:00
Shawn Erquhart
28ee67c35e
eliminate unnecessary editor renders
2017-08-25 16:30:39 -04:00
Shawn Erquhart
842c2935e9
use mdast instead of html for rte local model
...
markdown is currently serialized to html at load time,
which makes it near impossible to support arbitrary html
in the markdown. This also means we're stringifying to
html on every change.
This commit moves to Remark's MDAST for local serialization,
including parsing from MDAST to Slates's Raw AST. It brings
much more control over the editing experience and full
support for processing unescaped HTML.
2017-08-25 16:30:37 -04:00
Shawn Erquhart
fe3d04b722
streamline raw editor pasting
2017-08-25 16:28:18 -04:00
Shawn Erquhart
ae56ef6dda
convert raw editor to Slate
2017-08-25 16:28:17 -04:00
Shawn Erquhart
719c105844
remove logic from raw markdown editor
2017-08-25 16:28:17 -04:00
Shawn Erquhart
5a664f8be1
remove prosemirror, reuse unified pipelines
2017-08-25 16:28:17 -04:00
Shawn Erquhart
cba631ba1a
improve visual/raw editor consistency
2017-08-25 16:25:30 -04:00
Shawn Erquhart
5cbc76da68
improve rte pasting
2017-08-25 16:24:13 -04:00
Shawn Erquhart
54e77bd80c
fix raw editor formatting controls
2017-08-25 16:24:13 -04:00
Shawn Erquhart
faec38ac19
fix raw editor paste parsing
2017-08-25 16:24:13 -04:00
Shawn Erquhart
e0ca24c6d3
add unified config module
2017-08-25 16:24:13 -04:00