Tobias Andersen
5135f98845
Update plugin reference to use Change instead of State ( #1093 )
...
* update plugin reference to use Change instead of State
* fix description of onCopy event handler
2017-09-08 07:52:39 -07:00
Ian Storm Taylor
395c0a4f8b
0.22.14
v0.22.14
2017-09-08 00:11:17 -07:00
Ian Storm Taylor
1b406c345f
fix plain serializer handling empty blocks, fixes #1090 ( #1091 )
...
* fix plain serializer handling empty blocks, fixes #1090
* clean up block list test
2017-09-08 00:09:46 -07:00
Ian Storm Taylor
3e2e533c21
0.22.13
v0.22.13
2017-09-07 18:06:03 -07:00
Ian Storm Taylor
808848e22e
fix the performance of calculating isSelected ( #1087 )
...
* fix the performance of calculating isSelected
* ocd
2017-09-07 18:04:40 -07:00
Ian Storm Taylor
33ddd30486
0.22.12
v0.22.12
2017-09-07 16:03:28 -07:00
Ian Storm Taylor
1e519fb4e6
Cleanup onSelect comments ( #1086 )
...
* remove extra unnecessary onSelect logic
* re-add with comment
* fix comments and logic more
* Update content.js
2017-09-07 16:00:09 -07:00
Per-Kristian Nordnes
59c538c2aa
Remove an incorrect selection manipulation from Content ( #1085 )
2017-09-07 14:53:41 -07:00
Ian Storm Taylor
1c0b068023
0.22.11
v0.22.11
2017-09-07 14:35:22 -07:00
Ian Storm Taylor
16d29db8cb
add isSelected prop, cleanup sCU, add custom component reference ( #1084 )
...
* add isSelected prop, cleanup sCU, add custom component reference, fixes #1080
* fix custom node reference
* update custom node reference
* remove sCU check for text-only children
2017-09-07 14:33:34 -07:00
Ian Storm Taylor
d8004c33b1
0.22.10
v0.22.10
2017-09-07 12:12:55 -07:00
Ian Storm Taylor
d69f879fe1
fix empty selections active marks logic ( #1083 )
2017-09-07 12:09:49 -07:00
Ian Storm Taylor
cf0745a178
refactor delete at range, fixing edge cases ( #1082 )
2017-09-07 12:06:42 -07:00
Ian Storm Taylor
976af2cda1
deprecate onDocumentChange and onSelectionChange, fixes #614 ( #1081 )
2017-09-07 11:51:45 -07:00
Ian Storm Taylor
c3caa2878c
0.22.9
v0.22.9
2017-09-07 09:19:30 -07:00
Per-Kristian Nordnes
86c69f9d8d
Fix bug with updating a deselected selection and void block selection issues ( #1075 )
...
* If the selection has no anchorKey and focusKey (deselected) do nothing
* Fix bug related to selecting void blocks and non-void-blocks with a trailing void-block
* Update content.js
* Update content.js
2017-09-07 09:18:04 -07:00
Per-Kristian Nordnes
697a771014
Fix bugs in deleteAtRange ( #1072 )
...
* Fix bug in deleteAtRange when selecting part of non-void block followed by void block
* Fix bug in deleteAtRange when selecting from an inline void node
* Fix bug with deleteAtRange if a whole startBlock was selected, fixes #1021
2017-09-07 09:15:25 -07:00
Ian Storm Taylor
01bc6944bd
fix change logic in embeds example, fixes #1074 ( #1078 )
2017-09-07 09:04:17 -07:00
Ian Storm Taylor
2b168541dc
restrict globals that are permitted for linting ( #1077 )
2017-09-07 08:54:35 -07:00
Per-Kristian Nordnes
ad24622e88
Add missing import ( #1071 )
2017-09-07 08:11:31 -07:00
Ian Storm Taylor
3257643ba0
0.22.8
v0.22.8
2017-09-06 19:56:14 -07:00
Ryan Yurkanin
f6d5f9d6dd
sCU Changes for #1058 ( #1064 )
...
* changing up should component update
* checking if it has nodes
* Update node.js
* more flexible checking
2017-09-06 19:54:54 -07:00
Ian Storm Taylor
4e945e2977
0.22.7
v0.22.7
2017-09-06 19:03:38 -07:00
Ian Storm Taylor
0db3ac7222
fix get*AtRange methods for unset ranges, fixes #1002 ( #1068 )
2017-09-06 18:58:47 -07:00
Ian Storm Taylor
ca514eee66
0.22.6
v0.22.6
2017-09-06 18:43:00 -07:00
Ian Storm Taylor
f9e3d08fe3
fix isList and isSet methods for empty case ( #1065 )
2017-09-06 18:27:18 -07:00
Ian Storm Taylor
53a19c2d0d
revert changes to up/down behavior near void nodes, fixes #1063 ( #1066 )
2017-09-06 18:14:35 -07:00
David Gertmenian-Wong
a75899f57a
Update walkthrough docs to use change
object instead of state
( #1062 )
2017-09-06 17:51:40 -07:00
Ian Storm Taylor
c0b4a30ce6
0.22.5
v0.22.5
2017-09-06 15:29:17 -07:00
Ian Storm Taylor
e51cf5e028
cleanup many things in ./utils ( #1061 )
2017-09-06 15:27:55 -07:00
Ian Storm Taylor
a5ce937986
0.22.4
v0.22.4
2017-09-06 14:26:31 -07:00
Ian Storm Taylor
8d47f8e8b6
refactor to eliminate ./utils/normalize, fixes #372 ( #1060 )
...
* refactor to eliminate ./utils/normalize, fixes #372
* fix mark default value
2017-09-06 14:24:48 -07:00
Ian Storm Taylor
e77cae7bf7
0.22.3
v0.22.3
2017-09-06 11:55:59 -07:00
Ian Storm Taylor
bdb8234b8d
fix pasting plain text, fixes #586 fixes #795 ( #1059 )
2017-09-06 11:54:33 -07:00
Ryan Yurkanin
2632c82228
Fix hasUndos and hasRedos ( #1053 )
...
* tiny fix for hasUndos/hasRedos computed values
* clear redos when saving while redos are on the history stack
* Update history.js
2017-09-06 11:51:18 -07:00
Peter Klipfel
0ab70fd1af
fixes errors for basic app with installation ( #1056 )
...
The old onChange function caused a bunch of `Uncaught TypeError: _this.state.state.change is not a function` errors. Adding the object destructure to the arguments fixes this.
2017-09-06 11:49:50 -07:00
Ian Storm Taylor
1075e67830
fix state accessors, closes #1046 ( #1055 )
2017-09-06 10:57:15 -07:00
Ian Storm Taylor
025a280171
cleanup at-current-range transforms ( #1054 )
2017-09-06 10:27:31 -07:00
Ian Storm Taylor
de736dd57d
0.22.2
v0.22.2
2017-09-06 09:36:29 -07:00
Ian Storm Taylor
d7b01f705a
Merge branch 'master' of github.com:ianstormtaylor/slate
2017-09-06 09:35:12 -07:00
Ian Storm Taylor
1c03d2a5af
update docs
2017-09-06 09:35:08 -07:00
Tobias Andersen
7eed37164b
Make sure nodes always know if they're selected ( #1029 )
...
* Make sure nodes update when their selection change
(cherry picked from commit 3e8744409ea94554faafa1e72415cdfb54b4bc78)
* Update examples of showing selected blocks nodes
2017-09-06 09:07:46 -07:00
Ian Storm Taylor
f0325a9afb
0.22.1
v0.22.1
2017-09-06 09:03:30 -07:00
Ian Storm Taylor
0e6008e554
Merge branch 'master' of github.com:ianstormtaylor/slate
2017-09-06 09:02:11 -07:00
Ian Storm Taylor
7324ab715f
add change.setOperationFlag for setting the save and merge flags
2017-09-06 09:02:04 -07:00
Ryan Yurkanin
609ab2e198
Add Linking to Change in docs ( #1052 )
...
* fixing a breaking change in node/mark properties
* Fixing gitbook linking to change.md
2017-09-06 08:58:26 -07:00
Ian Storm Taylor
01a1699a08
0.22.0
v0.22.0
2017-09-05 18:31:37 -07:00
Ian Storm Taylor
a8651d66a8
update changelog
2017-09-05 18:27:23 -07:00
Ian Storm Taylor
367a22c39a
fix mark operation range creation
2017-09-05 18:24:21 -07:00
Ian Storm Taylor
6f3f8ee685
update changelog
2017-09-05 18:24:08 -07:00