1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 09:13:24 +01:00

65 Commits

Author SHA1 Message Date
Ian Storm Taylor
e3e9afba43 update walkthroughs and history 2016-08-14 18:25:12 -07:00
Ian Storm Taylor
5091587814 simplify schema rules, update docs 2016-08-14 15:51:07 -07:00
Ian Storm Taylor
dbcb9e531f add rendering of decorators from schema 2016-08-13 19:38:59 -07:00
Ian Storm Taylor
8692d1a98a working on moving components into the schema 2016-08-13 16:18:07 -07:00
Ian Storm Taylor
f4b584a00b got first stab at schema working with tests 2016-08-12 15:58:45 -07:00
Ian Storm Taylor
8b5305f239 first stab at adding a schema to core 2016-08-12 11:33:48 -07:00
Ian Storm Taylor
454bc8020b add full support for file data transfers 2016-08-09 12:25:08 -07:00
Ian Storm Taylor
55ab4aafd5 update iframe rendering logic, refactor iframes example 2016-08-05 12:40:54 -07:00
Vladimir
186f1a7c6d Core component will deduce the context from the dispatched event.target element 2016-08-03 03:27:33 +03:00
Ian Storm Taylor
4e6ca3953b fix onBeforeInput decorations logic, fix initial onSelect logic 2016-08-01 18:09:30 -07:00
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