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

1146 Commits

Author SHA1 Message Date
Ian Storm Taylor
cdd1b29561 revert uid generation, but increase randomness 2016-11-17 10:17:37 -08:00
Soreine
ade3c324bd Merge branch 'master' into schema-normalize 2016-11-17 10:27:47 +01:00
Soreine
fbf014cc48 Add another test for undo 2016-11-17 10:07:57 +01:00
Ian Storm Taylor
a6ec7889c9 0.14.19 v0.14.19 2016-11-16 18:59:48 -08:00
Ian Storm Taylor
39bd280d7b god damnit npm 2016-11-16 18:57:44 -08:00
Ian Storm Taylor
77470b8ad2 0.14.17 v0.14.17 2016-11-16 18:54:37 -08:00
Ian Storm Taylor
93d01523aa pin react dev dependencies to version 15.2 2016-11-16 18:41:38 -08:00
Ian Storm Taylor
9eb80ffa99 Merge branch 'close-297' 2016-11-16 17:26:50 -08:00
Ian Storm Taylor
f7428cc93c fix style, refactor noop 2016-11-16 17:26:12 -08:00
Ian Storm Taylor
3aff3cbf91 add focus-blur example 2016-11-16 17:25:27 -08:00
Soreine
e868d44af4 Memoize schema validation 2016-11-16 18:24:20 +01:00
Soreine
56c2df067c Remove previous document comparison logic 2016-11-16 18:24:20 +01:00
Aeneas Rekkas (arekkas)
d9bb0dd72c move blur check to content component - closes #297 2016-11-16 13:09:21 +01:00
Ian Storm Taylor
2f74e20a52 Merge pull request #424 from websymphony/patch-1
Fixed minor typo.
2016-11-15 16:31:00 -08:00
Amit Gaur
a5ecd84e36 Fixed minor typo.
Updated contain -> content.
2016-11-15 15:40:16 -06:00
Ian Storm Taylor
738660f578 Merge pull request #421 from arekkas/patch-1
Do not process onInput events when selection is lost
2016-11-15 12:29:30 -08:00
Ian Storm Taylor
80cdbdb980 fix contributing docs test commands, closes #422 2016-11-15 12:26:48 -08:00
Soreine
db7ae6aae6 Make the successive normalization benchmark bigger and deeper 2016-11-15 11:26:16 +01:00
Ian Storm Taylor
e030deaa78 Fix broken links in the docs (#416) 2016-11-14 16:47:01 -08:00
Aeneas Rekkas (arekkas)
ff25061ec0 resolve leaf component issues with focus and blur transformations - closes #297 2016-11-14 12:58:09 +01:00
Aeneas
b201c6dc13 Do not process onInput events when selection is lost
Resolves an issue where `this.getPoint(anchorNode, anchorOffset)` throws an error if a key event is triggered although not in focus
2016-11-14 12:55:55 +01:00
Soreine
c122ec750d Increase the size of the benchmarked document 2016-11-14 10:56:32 +01:00
Soreine
6981442a4c Add benchmark for successive normalization 2016-11-14 10:39:15 +01:00
Soreine
c598c22538 Use incrementing number to generate keys 2016-11-14 10:19:07 +01:00
Dieter Komendera
5c80df1413 Fix broken links in the docs 2016-11-11 10:10:39 +01:00
Soreine
b0c72c7d34 Use es6-map as native Map polyfill 2016-11-10 17:52:06 +01:00
Soreine
62a3b4666d Move IS_DEV to constants 2016-11-10 17:47:05 +01:00
Soreine
b33616638d Rename void text rule 2016-11-10 17:14:36 +01:00
Soreine
0901f361bd Add note about why the normalization rule match the parent 2016-11-10 17:10:29 +01:00
Soreine
1abdc25625 Rename Schema.isNormalization to Schema.hasValidators 2016-11-10 16:59:44 +01:00
Soreine
95107a7204 Remove return and assign at the same time 2016-11-10 16:13:57 +01:00
Soreine
4a16a9be4a Remove weird if/then/else 2016-11-10 16:09:01 +01:00
Soreine
944adc27fe Remove needless transform = transform.method() 2016-11-10 15:18:52 +01:00
Soreine
d57f51e6c8 Rename private functions and move them at end 2016-11-10 14:58:04 +01:00
Soreine
02d1531822 Use getFirstText when fit 2016-11-10 11:09:47 +01:00
Soreine
a319499f7c Enforce 2-spaces indentation 2016-11-10 11:04:49 +01:00
Samy Pessé
094cdf8a51 Use getFirstText in getLeafText 2016-11-10 11:04:01 +01:00
Samy Pessé
1cc9b7329d Remove test file 2016-11-10 11:01:15 +01:00
Soreine
6342c59936 Style pass on ternary indentation 2016-11-10 10:45:04 +01:00
Soreine
201123a63a Style pass on docstrings 2016-11-10 10:45:04 +01:00
Soreine
ddf730356b more readable code 2016-11-10 10:45:04 +01:00
Samy Pessé
9609865f0a Expose Range when requiring slate 2016-11-09 16:55:32 +01:00
Soreine
8ed065e0b5 Use key instead of node arguments in some places 2016-11-09 16:28:05 +01:00
Soreine
1ec6ebacc8 Fix writing in marks at beginning of text 2016-11-09 16:27:51 +01:00
Soreine
9cc1140009 Test undo setSelection 2016-11-09 15:10:50 +01:00
Soreine
c8b61bafee Test undo for insertNode, moveNode, removeNode 2016-11-09 14:54:23 +01:00
Soreine
78a9eb24f0 Fix undoing setMark 2016-11-09 14:37:42 +01:00
Soreine
0cb7ee794b Test undo setMark 2016-11-09 14:36:47 +01:00
Soreine
c7294be7d5 Test undo add/remove mark 2016-11-09 13:17:35 +01:00
Soreine
6bfaf0872c Add deep option to joinNode to allow correctly undoing splitNode 2016-11-09 12:55:56 +01:00