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

85 Commits

Author SHA1 Message Date
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
0ebe5b4b64 add toggleMark and toggleMarkAtRange transforms 2016-07-21 11:59:21 -07:00
Ian Storm Taylor
38eccfb436 switch from makefile to npm scripts, closes #144 2016-07-21 01:59:44 -07:00
Ian Storm Taylor
f1b961fc35 add memoization and clean up node methods (#141)
* cleanup node methods

* add first stab at memoization of node methods

* rename getTextNodes() to getTexts() for consistency
2016-07-20 21:36:52 -07:00
Ian Storm Taylor
8654dfc929 fix rich text example 2016-07-20 14:59:10 -07:00
Ian Storm Taylor
a0cd5364c1 fix webkit modify styles for read-only mode, closes #137 2016-07-20 14:46:44 -07:00
Ian Storm Taylor
9499b9188b change unwrapBlock to operate only on the siblings in a range 2016-07-20 14:13:29 -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
54587c3318 add decorator rendering test 2016-07-18 16:18:55 -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
c717f8429f add paste linkifying to link example 2016-07-18 13:06:10 -07:00
Somasundaram Ayyappan
0289edfc29 Rename mark/unmark transforms to addMark/removeMark (#113)
* Rename mark/unmark transforms to addMark/removeMark

* delete gitkeep
2016-07-18 12:00:30 -07:00
Ian Storm Taylor
7930df4fc2 fix read-only example readme 2016-07-17 16:32:20 -07:00
Ian Storm Taylor
c489eee418 add read-only mode, closes #108 #106 2016-07-17 15:57:27 -07:00
Ian Storm Taylor
ca1dfd904d swap html serializer to take rules in options dictionary 2016-07-17 15:40:38 -07:00
Ian Storm Taylor
c0c1133236 fix rich-text example lists 2016-07-15 16:08:13 -07:00
Julian Krispel-Samsel
9c020d9a04 Typos (#95) 2016-07-15 16:02:03 -07:00
Ian Storm Taylor
5aee46f8df add icon image, add gh-pages cname 2016-07-15 13:22:38 -07:00
Ian Storm Taylor
50062f7a9f update examples html title 2016-07-15 10:07:12 -07:00
Ian Storm Taylor
ea4c91d76d add preview image to examples readme 2016-07-14 16:35:48 -07:00
Ian Storm Taylor
d8783d618a add more example readmes 2016-07-14 16:31:55 -07:00
Ian Storm Taylor
440496a94b move images, add examples images, add to .npmignore 2016-07-14 16:23:36 -07:00
Ian Storm Taylor
2419dcc71d update examples and test contributing instructions 2016-07-14 08:39:39 -07:00
Jared Palmer
877e2c1118 remove dangling comma that invalidated json
removes a dangling comma in rich-text example's state.json.
2016-07-13 20:09:54 -04:00
Ian Storm Taylor
ab12518a4b clean up examples 2016-07-13 16:19:49 -07:00
Ian Storm Taylor
d0ed722821 simplify plaintext example 2016-07-13 15:26:23 -07:00
Ian Storm Taylor
c218c1721e cleanup the rich text example 2016-07-13 15:12:47 -07:00
Ian Storm Taylor
d8e2f371d2 cleanup plain text example 2016-07-13 14:57:20 -07:00
Ian Storm Taylor
3d33ab3da2 add plain text serializer 2016-07-13 14:55:41 -07:00
Ian Storm Taylor
677ac96f4f update docs 2016-07-12 22:26:57 -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
3d191dbf14 add placeholder 2016-07-11 18:36:45 -07:00
Ian Storm Taylor
7200819709 update docs, few fixes 2016-07-11 12:34:22 -07:00
Ian Storm Taylor
9b3bcd837d fix firefox support 2016-07-07 19:37:34 -07:00
Ian Storm Taylor
db1151bd15 add linting to examples 2016-07-07 08:35:13 -07:00
Ian Storm Taylor
dae23d5bd2 update readme, fix tables example 2016-07-06 15:13:15 -07:00
Ian Storm Taylor
7dc00a77d3 improve example tab bar styles 2016-07-06 14:54: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
48573e529e add code highlighting example, still slow 2016-07-06 14:05:35 -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
27e71715a6 fix fragment pasting, remove <b> and <i> from paste html marks 2016-06-29 11:27:06 -07:00
Ian Storm Taylor
2f2437476e add paste html example with first stab at html serializer 2016-06-29 10:43:22 -07:00
Ian Storm Taylor
78a902d7a0 add start of image example 2016-06-28 18:26:56 -07:00
Ian Storm Taylor
85361bf749 add hovering menu example 2016-06-28 15:47:29 -07:00