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

768 Commits

Author SHA1 Message Date
Andrew Cobby
d6901aa416 Add failing test showing splitBlock with isVoid bug (#276)
* Add failing test showing splitBlock with isVoid bug

Not sure what I actually expected calling `splitBlock()` on void block, but I
would expect `splitBlock()` to respect a given block type's isVoid property.
This failing test demonstrates that `splitBlock()` always creates a the new
block with `isVoid: false`.

* Fix isVoid not being copied when using splitBlock()

The bug was actually inside `splitBlockAtRange`, as that's what actual drives
`splitBlock()` (I assume the bug was therefore present in both methods). The
fix is to simply copy across the `isVoid` value from the block being copied.
2016-09-04 21:19:00 -07:00
Matthew Kosloski
3c46d0544c fixed a few typos (#293) 2016-09-04 17:31:06 -07:00
Matthew Kosloski
523b8a7e6f fixed a typo where the method for focus was blur() (#294) 2016-09-04 17:30:41 -07:00
Ian Storm Taylor
66ffc732bd 0.13.7 v0.13.7 2016-09-03 17:55:06 -07:00
Ian Storm Taylor
da274c818f fix tests to ignore .DS_Store 2016-09-03 17:52:00 -07:00
Jonas Keinholz
b227c0444d Fix broken link (#285) 2016-09-03 17:34:21 -07:00
Matt Reyer
2b0194523f Update package.json (#290)
Update `cheerio` dependency. Fixes webpack builds.
2016-09-03 17:32:28 -07:00
Nick Passarella
43d5735cc9 Fixes a small error in a code example in HTML walkthrough. (#280) 2016-08-31 19:35:34 -07:00
npmcdn-to-unpkg-bot
0893418bca Replace npmcdn.com with unpkg.com (#284) 2016-08-31 19:35:22 -07:00
Andrew Cobby
98d663be5d Fix broken link to Block in docs (#278) 2016-08-31 19:35:18 -07:00
Ian Storm Taylor
133e504a8c update readme 2016-08-29 09:14:41 -07:00
Ian Storm Taylor
a739b01e4e add mobiledoc kit comparison to readme 2016-08-29 09:12:25 -07:00
Ian Storm Taylor
a4ec0f2b93 update readmegs 2016-08-25 23:41:51 -04:00
Ian Storm Taylor
49cbb920b4 update readme with new docs links 2016-08-25 23:40:24 -04:00
Ian Storm Taylor
b4bae8ad8e update gitbook sidebar 2016-08-25 23:07:35 -04:00
Ian Storm Taylor
964f1a31cd update docs 2016-08-25 23:06:57 -04:00
Ian Storm Taylor
a7b60e4f67 update gitbook sidebar 2016-08-25 23:01:56 -04:00
Ian Storm Taylor
9d293f5ede update docs 2016-08-25 22:59:36 -04:00
Ian Storm Taylor
a90d522ae5 update docs 2016-08-25 22:55:03 -04:00
Ian Storm Taylor
010e93850e fix gitbook 2016-08-25 22:41:02 -04:00
Ian Storm Taylor
e71c78247a update gitbook 2016-08-25 22:32:17 -04:00
Ian Storm Taylor
eb98342126 remove docs files for renaming 2016-08-25 22:13:05 -04:00
Samy Pessé
83fe23d7fc Use GitBook for documentation (#263)
* Use gitbook for documentation

* Add section about contributing in readme of docs
2016-08-23 18:24:26 -04:00
Anton Kulakov
92e97a258e Fixed typo (#256) 2016-08-19 02:52:45 -07:00
Ian Storm Taylor
cb0b9b9095 update keydown handler signature (#254)
* update keydown handler signature

* Update applying-custom-formatting.md

* Update defining-custom-block-nodes.md

* Update saving-to-a-database.md

* Update using-plugins.md
2016-08-18 09:40:19 -07:00
Max Stockner
6f5cdf49dc Fix Documentation Links (#253) 2016-08-18 09:16:06 -07:00
Anton Kulakov
597fbdec72 Fixed typo (#252) 2016-08-18 09:14:58 -07:00
Ian Storm Taylor
08b3dbf39c 0.13.6 v0.13.6 2016-08-17 10:15:53 -07:00
Cássio Souza
1585a64412 terse text can contain marks (#248) 2016-08-17 10:12:22 -07:00
R41nGoloss
af29cf6e70 fix typo in transfer (#247) 2016-08-17 02:58:35 -07:00
Ian Storm Taylor
0413d93305 0.13.5 v0.13.5 2016-08-15 16:24:13 -07:00
Ian Storm Taylor
31924c5314 fix delete when end block has inline nodes 2016-08-15 16:21:41 -07:00
Ian Storm Taylor
01a00cb028 0.13.4 v0.13.4 2016-08-15 15:08:09 -07:00
Ian Storm Taylor
0606cd2f91 0.13.3 v0.13.3 2016-08-15 15:01:55 -07:00
Ian Storm Taylor
0755e6b226 update history 2016-08-15 14:54:36 -07:00
Ian Storm Taylor
898fda1f0f fix conflict 2016-08-15 14:54:20 -07:00
Ian Storm Taylor
c0e9504ce6 fix shouldComponentUpdate logic for code highlighing 2016-08-15 14:52:01 -07:00
Ian Storm Taylor
a045d475d3 speed up schema matching 2016-08-15 14:45:36 -07:00
Ian Storm Taylor
d49b792e99 fix release script, update code highlighting example 2016-08-15 14:44:44 -07:00
Ian Storm Taylor
3e4fdcbfbf 0.13.2 v0.13.2 2016-08-14 18:52:52 -07:00
Ian Storm Taylor
9ef0d81fbb 0.13.1 v0.13.1 2016-08-14 18:46:58 -07:00
Ian Storm Taylor
59c143f42d 0.13.0 v0.13.0 2016-08-14 18:42:55 -07:00
Ian Storm Taylor
f0ffd0b622 add publish script 2016-08-14 18:33:41 -07:00
Ian Storm Taylor
54a6cdad9d update editor reference 2016-08-14 18:29:00 -07:00
Ian Storm Taylor
e3e9afba43 update walkthroughs and history 2016-08-14 18:25:12 -07:00
Ian Storm Taylor
973c6ce0bf update more docs 2016-08-14 15:58:41 -07:00
Ian Storm Taylor
5091587814 simplify schema rules, update docs 2016-08-14 15:51:07 -07:00
Ian Storm Taylor
06af3de5e5 start adding docs 2016-08-14 14:38:27 -07:00
Ian Storm Taylor
ccac6102a5 fixes 2016-08-14 13:21:46 -07:00
Ian Storm Taylor
dbcb9e531f add rendering of decorators from schema 2016-08-13 19:38:59 -07:00