Per-Kristian Nordnes
c456c9dbe1
Image example: fix delete bug. Fixes #625 ( #628 )
...
As void-nodes now can be deleted, use a schema rule to normalize the document, and insert a paragraph when empty. Delete old "onDocumentChange" handler.
2017-02-25 12:50:52 -08:00
Ian Storm Taylor
6f67ac70c9
fix linting
2016-11-17 18:10:30 -08:00
Soreine
a319499f7c
Enforce 2-spaces indentation
2016-11-10 11:04:49 +01:00
Soreine
ce0a5579e7
Remove a most of unused vars
2016-10-25 13:12:10 +02:00
Nicolas Gaborit
f87e4dc72b
Remove old snapshot
parameter for Transform.apply ( #361 )
2016-10-04 12:19:31 -07:00
Suwijak Chaipipat
b7f317ac4b
Unset selection before remove node ( #316 )
2016-09-14 14:48:21 -07:00
Ian Storm Taylor
ccac6102a5
fixes
2016-08-14 13:21:46 -07:00
Ian Storm Taylor
454bc8020b
add full support for file data transfers
2016-08-09 12:25:08 -07:00
Ian Storm Taylor
9a70188f34
loosen default shouldComponentUpdate for nodes, and make Void implicit
2016-08-04 14:12:27 -07:00
Ian Storm Taylor
789c4b3002
fix void leaf selection handling
2016-08-01 18:26:27 -07:00
Ian Storm Taylor
d20b8511bb
refactor onKeyDown to use data object
2016-07-27 16:22:11 -07:00
Ian Storm Taylor
569e940fd1
add node component, cleanup draggable/void interactions
2016-07-25 16:46:17 -07:00
Ian Storm Taylor
d78ddeabad
update examples for terse raw
2016-07-25 14:45:37 -07:00
Ian Storm Taylor
3bd000d118
add draggable nodes, first steps
2016-07-24 18:04:11 -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
31782cb11a
remove selection state handling from image block in examples
2016-07-22 13:28:38 -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
6993b0c666
change a few examples to omit ranges for cleanliness
2016-07-21 16:41:35 -07:00
Ian Storm Taylor
ed6000b210
remove is-image-url dev dep since it isnt backwards compatible
2016-07-19 11:22:09 -07:00
Ian Storm Taylor
826956c2c9
fix "secret" behavior of image example
2016-07-18 16:34:28 -07:00
Ian Storm Taylor
d8783d618a
add more example readmes
2016-07-14 16:31:55 -07:00
Ian Storm Taylor
ab12518a4b
clean up examples
2016-07-13 16:19:49 -07:00
Ian Storm Taylor
3d33ab3da2
add plain text serializer
2016-07-13 14:55:41 -07:00
Ian Storm Taylor
510eb63d8d
fixes
2016-07-12 21:14:21 -07:00
Ian Storm Taylor
2f4c8726e0
add attributes props in examples
2016-07-11 18:39:45 -07:00
Ian Storm Taylor
db1151bd15
add linting to examples
2016-07-07 08:35:13 -07:00
Ian Storm Taylor
de4afd38b1
cleanup renderers in examples, fixes #43
2016-07-06 14:42:59 -07:00
Ian Storm Taylor
e9ed40dd7f
remove default export, fixes #42
2016-07-06 14:21:11 -07:00
Ian Storm Taylor
aa8e295a2d
fix void selection behavior
2016-07-01 13:03:22 -07:00
Ian Storm Taylor
1069fee13a
add isVoid property to nodes
2016-06-30 11:13:56 -07:00
Ian Storm Taylor
aba40a2aaf
got void components working
2016-06-30 10:43:24 -07:00
Ian Storm Taylor
78a902d7a0
add start of image example
2016-06-28 18:26:56 -07:00