1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-20 23:22:56 +01:00

544 Commits

Author SHA1 Message Date
Ian Storm Taylor
569e940fd1 add node component, cleanup draggable/void interactions 2016-07-25 16:46:17 -07:00
Ian Storm Taylor
b5bbac02d0 remove rule from eslint 2016-07-25 14:46:26 -07:00
Ian Storm Taylor
c3cc301b5d remove unnecessary method from base 64 serializer 2016-07-25 14:46:10 -07:00
Ian Storm Taylor
d78ddeabad update examples for terse raw 2016-07-25 14:45:37 -07:00
Ian Storm Taylor
98c78e4d96 refactor raw serializer to not be terse by default 2016-07-25 13:29:29 -07:00
Ian Storm Taylor
81c956228b more work on draggable nodes 2016-07-24 18:57:09 -07:00
Ian Storm Taylor
3bd000d118 add draggable nodes, first steps 2016-07-24 18:04:11 -07:00
Ian Storm Taylor
c7fac3456e remove non-transform transforming methods from reference 2016-07-24 18:03:36 -07:00
Ian Storm Taylor
d90c982a37 0.6.7 v0.6.7 2016-07-24 18:01:33 -07:00
Ian Storm Taylor
466f377ffa fixes for style and consistency 2016-07-24 17:59:26 -07:00
Mathieu Dutour
8407023e5f add setNodeByKey transform (#157)
* modifyNode transform

* create DOCUMENT_NODE_TRANSFORMS and use assertDescendant to get the node directly

* rename to setNodeByKey
2016-07-24 17:53:28 -07:00
adamlong5
58691691a9 Fix error in Hello World of installation guide (#170) 2016-07-24 17:14:42 -07:00
joehua87
12f4a8e692 Update state.md (#164)
{edge}Offset is Number
2016-07-22 22:21:02 -07:00
joehua87
1f0532d306 typeof key is string (not Key) (#165) 2016-07-22 22:20:40 -07:00
Ian Storm Taylor
e80799252f add always ending in paragraph to image example 2016-07-22 21:28:28 -07:00
Ian Storm Taylor
63867e0e2f 0.6.6 v0.6.6 2016-07-22 21:18:34 -07:00
Ian Storm Taylor
b65e218b25 add ability to drag/drop across slate instances 2016-07-22 21:16:42 -07:00
Ian Storm Taylor
3098c35bec 0.6.5 v0.6.5 2016-07-22 20:23:59 -07:00
Ian Storm Taylor
f8f01949e4 add tests for insertText with marks 2016-07-22 20:22:01 -07:00
Ian Storm Taylor
2a58f71c42 add support for spellcheck 2016-07-22 20:21:50 -07:00
Ian Storm Taylor
20874faa69 add onDrop to docs 2016-07-22 17:15:46 -07:00
Ian Storm Taylor
33b4e75819 0.6.4 v0.6.4 2016-07-22 17:05:51 -07:00
Ian Storm Taylor
42f4aa629c fix to prevent being able to drag text into a void 2016-07-22 17:04:16 -07:00
Ian Storm Taylor
8543a63526 0.6.3 v0.6.3 2016-07-22 17:01:41 -07:00
Ian Storm Taylor
2df1fe7e6b refactor core onPaste handler 2016-07-22 17:00:04 -07:00
Ian Storm Taylor
ebb1625e29 add drag and drop support 2016-07-22 16:58:24 -07:00
Ian Storm Taylor
384af9ea3a refactor for coding style 2016-07-22 14:16:17 -07:00
Mathieu Dutour
f19f39a8b3 fix performance issue in Leaf (#158) 2016-07-22 14:15:12 -07:00
Ian Storm Taylor
fe89247a24 0.6.2 v0.6.2 2016-07-22 14:14:12 -07:00
Ian Storm Taylor
9fc49f9ea5 fix base64 encoding to handle non utf8 characters 2016-07-22 14:12:31 -07:00
Ian Storm Taylor
2471f7f285 0.6.1 v0.6.1 2016-07-22 13:57:53 -07:00
Ian Storm Taylor
1784f25caa fix styles for void, fix tests for void rendering 2016-07-22 13:39:02 -07:00
Ian Storm Taylor
5212a47fa2 update history 2016-07-22 13:30:52 -07:00
Ian Storm Taylor
b8696a8cc2 update history 2016-07-22 13:29:28 -07:00
Ian Storm Taylor
31782cb11a remove selection state handling from image block in examples 2016-07-22 13:28:38 -07:00
Ian Storm Taylor
58de623ffc update history 2016-07-22 13:27:50 -07:00
Ian Storm Taylor
f7ac35daaf update history 2016-07-22 13:27:36 -07:00
Ian Storm Taylor
03393dabfb change void blocks to not be added automatically, and to handle focus 2016-07-22 13:24:22 -07:00
Ian Storm Taylor
b2f7349432 fix core onBeforeInput logic to re-render only when necessary 2016-07-22 13:02:57 -07:00
Ian Storm Taylor
5eda330279 update history 2016-07-22 12:42:30 -07:00
Ian Storm Taylor
52e6de488b fix to remove need for core plugin to define a default renderMark 2016-07-22 12:39:00 -07:00
Ian Storm Taylor
3c2b1b730b fix to not re-render when new selection is inside text nodes 2016-07-22 12:37:37 -07:00
Ian Storm Taylor
e8fdacd340 fix to account for renderDecorations being undefined 2016-07-22 12:37:21 -07:00
Ian Storm Taylor
3bc0664852 refactor text model to memoize decorations 2016-07-22 12:36:36 -07:00
Ian Storm Taylor
06c7e885f8 add data-key attribute to Text component 2016-07-22 12:15:33 -07:00
Ian Storm Taylor
950617cd6c move groupByMarks util into Text model as methods 2016-07-22 12:12:23 -07:00
Ian Storm Taylor
ac59e94a15 fix to use index instead of start and end in offset keys 2016-07-22 12:03:55 -07:00
Ian Storm Taylor
f1124b3441 update history formatting 2016-07-21 17:12:22 -07:00
Ian Storm Taylor
d4433b8ec3 update installing slate guide to omit ranges 2016-07-21 16:42:24 -07:00
Ian Storm Taylor
6993b0c666 change a few examples to omit ranges for cleanliness 2016-07-21 16:41:35 -07:00