1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-05 22:12:49 +02:00

1473 Commits

Author SHA1 Message Date
Ian Storm Taylor
36670d0d41 update error message 2016-12-07 21:34:46 -08:00
Ian Storm Taylor
5808e64635 change zero-width spaces to use data attributes for consistency 2016-12-07 21:16:04 -08:00
Ian Storm Taylor
2e797aeb56 0.16.3 v0.16.3 2016-12-07 20:47:25 -08:00
Ian Storm Taylor
bd44acb92a fix void rendering tests 2016-12-07 20:45:10 -08:00
Ian Storm Taylor
c53315f6c7 fix offset key finding logic to account for nested voids 2016-12-07 20:40:36 -08:00
Ian Storm Taylor
ee4ac6cb39 0.16.2 v0.16.2 2016-12-07 15:23:26 -08:00
Ian Storm Taylor
d0ccfac77f rename data-slate-content to data-slate-editor 2016-12-07 15:20:57 -08:00
Ian Storm Taylor
48411c769f update transforms tests 2016-12-07 15:19:49 -08:00
Ian Storm Taylor
6822e8b5ec fix style 2016-12-07 15:18:40 -08:00
Sunny Hirai
479ab24320 Added call to Transforms (#503)
* Added call method to Transforms to enable calling of custom transforms

* Fixed spacing
2016-12-07 15:17:05 -08:00
Ian Storm Taylor
1f60d4c9ab Revert jest (#507)
* remove debugger

* switch back to mocha

* remove jest config from package.json

* remove old browser test support files

* remove unnecessary assert-json helper
2016-12-07 15:16:49 -08:00
AlbertHilb
a1638dd906 Add an attribute to uniquely identify divs used to render content component (#470)
* Add `data-slate-content` attribute to the divs used to render `content` components.
Use that attribute to uniquely identify them.
Update test expected results.

* Fix lint complaints.
2016-12-07 15:16:40 -08:00
Ian Storm Taylor
7756be9a79 add schema reference to docs sidebar 2016-12-07 15:08:46 -08:00
Ian Storm Taylor
4a513dc06b remove debugger 2016-12-07 10:56:06 -08:00
Ian Storm Taylor
55fd06449b update tests to use jest and be async, closes #495 (#502)
* update tests to use jest and be async, closes #495

* add read-metadata for perf and fragments
2016-12-06 15:21:08 -08:00
Nicolas Gaborit
2fa096898c Add a GitHub link as icon in the docs (#501) 2016-12-06 08:16:08 -08:00
Ian Storm Taylor
34990c9878 Merge pull request #500 from ianstormtaylor/refactor-environment-detection
refactor environment detection, remove unused deps
2016-12-03 23:57:33 -08:00
Ian Storm Taylor
18ef4472cd refactor environment detection, remove unused deps 2016-12-03 23:49:50 -08:00
Ian Storm Taylor
35bb6942d9 0.16.1 v0.16.1 2016-12-02 17:04:30 -08:00
Ian Storm Taylor
0c12e95b21 fix dom selection normalizing for void nodes 2016-12-02 17:01:08 -08:00
Ian Storm Taylor
6d576b0240 0.16.0 v0.16.0 2016-12-02 16:18:27 -08:00
Ian Storm Taylor
05d1521e09 add history 2016-12-02 16:15:03 -08:00
Ian Storm Taylor
a20f32a392 Merge pull request #494 from ianstormtaylor/text-around-inline
Fix to always have text nodes around inline nodes
2016-12-02 16:03:35 -08:00
Ian Storm Taylor
e0a46ad29f fix selecting around inlines with option on macs 2016-12-02 15:44:21 -08:00
Ian Storm Taylor
a1a8c7f65f fix deleting forward and backward around inlines 2016-12-02 15:44:07 -08:00
Ian Storm Taylor
5b2d2ffd56 got rest of inline tests passing 2016-12-02 15:23:58 -08:00
Ian Storm Taylor
8096761a97 fix lots of tests with inline behavior 2016-12-02 13:09:24 -08:00
Ian Storm Taylor
9c81ed9c47 fix selection behavior around inline nodes 2016-12-02 11:07:02 -08:00
Ian Storm Taylor
73cf5fe54f Merge branch 'fix/483' of https://github.com/SamyPesse/slate into fix-empty-inline 2016-12-02 10:25:35 -08:00
Ian Storm Taylor
d6b771b41f fix docs sidebar 2016-12-02 10:23:22 -08:00
Ian Storm Taylor
352ad1d0c7 update docs sidebar 2016-12-02 10:20:55 -08:00
Ian Storm Taylor
7f79deb764 0.15.18 v0.15.18 2016-12-02 10:17:10 -08:00
Ian Storm Taylor
bf857ff26a Merge pull request #488 from SamyPesse/fix/484
Fix #484: implement wrapInlineByKey and allow wrap of inline void in wrapInline
2016-12-02 10:13:21 -08:00
Ian Storm Taylor
07b39a6729 Merge pull request #481 from aunsuwijak/bug/base64-serialize-node
Add options to Base64 serializeNode
2016-12-02 10:12:52 -08:00
Suwijak Chaipipat
68a4f233ce Add options params to Base64 deserialize, deserializeNode and serialize method 2016-12-03 00:56:04 +07:00
Samy Pessé
174595b51c Add extra text nodes 2016-12-02 18:51:59 +01:00
Samy Pessé
671c568258 Add extra text nodes 2016-12-02 18:51:34 +01:00
Samy Pessé
db6dfa04ac Remove comment 2016-12-02 18:50:50 +01:00
Samy Pessé
90000675e1 Remove comment 2016-12-02 18:50:02 +01:00
Ian Storm Taylor
7814964773 fix node methods that didnt normalize keys, closes #489 2016-12-02 09:48:47 -08:00
Ian Storm Taylor
f7c1e80afb update readme 2016-12-02 09:13:17 -08:00
Ian Storm Taylor
bdb2769170 Merge pull request #487 from wmertens/patch-1
Mention slate-drop-or-paste-images in plugins
2016-12-02 09:12:39 -08:00
Ian Storm Taylor
7b2babe3e9 Merge pull request #485 from GitbookIO/remove-lodash
Remove lodash dependency
2016-12-02 09:10:45 -08:00
Samy Pessé
909e7d358f Adapt tests for schema 2016-12-02 17:57:24 +01:00
Samy Pessé
8738b0a48d Fix condition in core rule to add test around all inlines 2016-12-02 17:53:12 +01:00
Samy Pessé
bfc05b587a Adapt schema to add empty text nodes around all inlines 2016-12-02 17:29:09 +01:00
Samy Pessé
797b58e5c5 Implement "wrapInlineByKey" and use it in "wrapInlineAtRange" 2016-12-02 14:05:45 +01:00
Wout Mertens
a17f7dcfff Mention slate-drop-or-paste-images in plugins 2016-12-02 14:01:37 +01:00
Samy Pessé
238ed2b3ab Add failing unit test 2016-12-02 12:57:14 +01:00
Soreine
dbe747ad8e Remove lodash dependency 2016-12-02 12:41:19 +01:00