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

55 Commits

Author SHA1 Message Date
Ian Storm Taylor
acccb8f17c remove need for selection to be natively rendered 2016-07-28 16:04:41 -07:00
Ian Storm Taylor
c248b3de22 add embeds example, fix to not let events propagate out of voids 2016-07-28 15:38:17 -07:00
Ian Storm Taylor
c85671aba4 add fragment handling to core onPaste 2016-07-27 16:22:12 -07:00
Ian Storm Taylor
d20b8511bb refactor onKeyDown to use data object 2016-07-27 16:22:11 -07:00
Ian Storm Taylor
fba3fe7a13 move onCopy and onCut logic to core plugin, refactor onDrop 2016-07-27 16:22:11 -07:00
Ian Storm Taylor
6503ee2d80 change onBeforeInput to take data property 2016-07-27 16:22:11 -07:00
Ian Storm Taylor
ca9aaa9efb refactor to move onBlur to core plugin 2016-07-27 16:22:11 -07:00
Ian Storm Taylor
ee2192aa6e refactor core plugin for readability 2016-07-27 16:22:11 -07:00
Ian Storm Taylor
eebb0bd985 fix character insertion when first in node, closes #182 2016-07-27 11:38:57 -07:00
Ian Storm Taylor
3448dac17b fix to greatly improve performance, and void selections in void nodes 2016-07-26 16:58:42 -07:00
Ian Storm Taylor
8393a8baaf update placeholder positioning and offset key resolving 2016-07-26 11:07:31 -07:00
Ian Storm Taylor
cdebdb1400 fix undo rendering and leaf rendering logic 2016-07-25 18:42:31 -07:00
Tyler Johnson
ca837e2426 moved onSelect event handling to core plugin (#175) 2016-07-25 16:59:12 -07:00
Ian Storm Taylor
569e940fd1 add node component, cleanup draggable/void interactions 2016-07-25 16:46:17 -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
b65e218b25 add ability to drag/drop across slate instances 2016-07-22 21:16:42 -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
b2f7349432 fix core onBeforeInput logic to re-render only when necessary 2016-07-22 13:02:57 -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
a9314f58a9 add default should component update (#124)
* add development performance testing examples

* refactor node map methods to be optimized

* fix updateDescendants return value

* remove console logs

* remove extra console log
2016-07-18 15:30:46 -07:00
Ian Storm Taylor
062b4a6443 fix to not re-resolve plugins on every update, closes #112 2016-07-17 16:21:23 -07:00
Ian Storm Taylor
d995b1ab35 fix a few void block transform and rendering bugs 2016-07-15 12:49:29 -07:00
Ian Storm Taylor
bf1ea4f975 fix delete forward/backward to be unicode aware, closes #87 2016-07-14 13:42:10 -07:00
Ian Storm Taylor
d324165978 adds ability to delete in word or line increments, fixes #80 2016-07-14 13:20:27 -07:00
Ian Storm Taylor
f960bf588c more docs 2016-07-12 21:08:40 -07:00
Ian Storm Taylor
1d075c71c7 add editor placeholder styles properties 2016-07-11 19:24:10 -07:00
Ian Storm Taylor
3d191dbf14 add placeholder 2016-07-11 18:36:45 -07:00
Ian Storm Taylor
9b3bcd837d fix firefox support 2016-07-07 19:37:34 -07:00
Ian Storm Taylor
226b6592dc add linting 2016-07-06 20:19:19 -07:00
Ian Storm Taylor
69f990cccb add plugins and serializers readmes 2016-07-06 16:16:58 -07:00
Ian Storm Taylor
14e02b1c67 fix renderers in core plugin 2016-07-06 14:48:40 -07:00
Ian Storm Taylor
48573e529e add code highlighting example, still slow 2016-07-06 14:05:35 -07:00
Ian Storm Taylor
c98845e3a0 fix arrow key behavior on void nodes 2016-06-30 14:37:29 -07:00
Ian Storm Taylor
8213573fb5 fix on before input 2016-06-28 08:42:34 -07:00
Ian Storm Taylor
f34e4b4a04 handle copy pasting from other editor instances 2016-06-27 19:15:20 -07:00
Ian Storm Taylor
0c22e6172b fix prevent default on key down 2016-06-27 17:16:18 -07:00
Ian Storm Taylor
f6c1e8de28 fix fragment pasting 2016-06-27 14:08:30 -07:00
Ian Storm Taylor
ef21157dea add insert fragment, remove normalize ranges 2016-06-24 16:02:59 -07:00
Ian Storm Taylor
9e4f452c1c initial plain text paste support 2016-06-24 12:06:59 -07:00
Ian Storm Taylor
a0f5369525 move before input handling to core plugin 2016-06-24 10:46:01 -07:00
Ian Storm Taylor
1c45670ff8 adding selections to transforms 2016-06-23 15:39:44 -07:00
Ian Storm Taylor
74cab690e3 broke lots of stuff, but added tests 2016-06-22 18:42:49 -07:00
Ian Storm Taylor
7fa78870c3 fix auto-markdown example 2016-06-21 10:43:04 -07:00
Ian Storm Taylor
3bc080d967 add transforms, document, and normalizing 2016-06-18 18:21:21 -07:00
Ian Storm Taylor
1413d57a04 add plaintext example 2016-06-17 19:57:37 -07:00
Ian Storm Taylor
2d46528aae wow big refactor, added raw serializer 2016-06-17 18:20:26 -07:00
Ian Storm Taylor
8b9f5f0c00 added undo/redo support 2016-06-17 16:10:44 -07:00
Ian Storm Taylor
94fbe87232 big refactor and cleanup of transforms 2016-06-17 13:34:29 -07:00