Eddy Wilson
56d798a943
implement isomorphic layout effect ( #3262 )
...
supresses warning on SSR when using useLayoutEffect by falling back
to useEffect when window is undefined
neither useLayoutEffect nor useEffect is run on server
2019-12-06 14:37:50 -05:00
Ian Storm Taylor
1389093f06
Publish
...
- slate-history@0.52 .1
- slate-hyperscript@0.52 .1
- slate-react@0.52 .1
- slate-schema@0.52 .1
- slate@0.52 .1
slate@0.52.1
slate-schema@0.52.1
slate-react@0.52.1
slate-hyperscript@0.52.1
slate-history@0.52.1
2019-12-06 12:39:26 -05:00
Ian Storm Taylor
9b34a3310f
Merge branch 'master' of github.com:ianstormtaylor/slate
2019-12-06 12:09:00 -05:00
Ian Storm Taylor
be8b7222ee
update walkthroughs
2019-12-06 12:06:53 -05:00
Dylan Markow
eeecae023f
Force a zero offset when inside a void node ( #3261 )
2019-12-06 11:13:03 -05:00
Ian Storm Taylor
624c03339b
add more schema tests
...
add more schema tests
2019-12-06 10:58:51 -05:00
Dylan Markow
8982ba9b2f
Improved merging of blocks when deleting text ( #3258 )
2019-12-05 20:35:30 -05:00
Tim Buckley
ed974222a9
Custom Format docs typo fix: leaf -> props ( #3257 )
...
* Custom Format docs typo fix: leaf -> props
* Update 04-applying-custom-formatting.md
2019-12-05 19:13:34 -05:00
Ryan Gurney
6aae94156b
Change B to I in code example ( #3256 )
...
Fixes a ridiculously small typo in the rendering code example.
2019-12-05 18:58:41 -05:00
Ian Storm Taylor
5c37bfc024
add more schema tests
2019-12-05 17:34:00 -05:00
Ian Storm Taylor
8653e74f6c
Publish
...
- slate-history@0.52 .0
- slate-hyperscript@0.52 .0
- slate-react@0.52 .0
- slate-schema@0.52 .0
- slate@0.52 .0
slate@0.52.0
slate-schema@0.52.0
slate-react@0.52.0
slate-hyperscript@0.52.0
slate-history@0.52.0
2019-12-05 15:39:58 -05:00
Ian Storm Taylor
c2f962da58
update keywords
2019-12-05 15:38:14 -05:00
Ian Storm Taylor
d536f786e9
update changelog
2019-12-05 15:33:58 -05:00
Ian Storm Taylor
90d40fd764
change schema plugin to be returned from function ( #3252 )
...
* change schema plugin to be returned from function
* fix forced-layout example
2019-12-05 15:29:02 -05:00
Ian Storm Taylor
be1ce2e099
fix schema properties to be exhaustive, add leaves ( #3251 )
2019-12-05 15:16:49 -05:00
Ian Storm Taylor
d24296e372
update changelog with more info
2019-12-05 15:07:53 -05:00
Ian Storm Taylor
b54e98f46c
unpin slate dev deps
2019-12-05 15:07:44 -05:00
Ian Storm Taylor
12af78609f
fix gitbook sidebar
2019-12-05 13:11:10 -05:00
Ian Storm Taylor
fad4e7fc80
fix gitbook sidebar
2019-12-05 12:59:14 -05:00
Ian Storm Taylor
97426525ca
fix richtext and plaintext naming
2019-12-05 12:57:39 -05:00
Ian Storm Taylor
124ff37c3a
update docs
2019-12-05 12:52:52 -05:00
Ian Storm Taylor
c34b4b7462
Publish
...
- slate-history@0.51 .0
- slate-hyperscript@0.51 .0
- slate-react@0.51 .0
- slate-schema@0.51 .0
- slate@0.51 .0
slate@0.51.0
slate-schema@0.51.0
slate-react@0.51.0
slate-hyperscript@0.51.0
slate-history@0.51.0
2019-12-05 12:52:03 -05:00
Ian Storm Taylor
f461ae5d45
fix ReactDOM batchedUpdates import
2019-12-05 12:02:41 -05:00
Ian Storm Taylor
7e6f680a1f
update changelogs
2019-12-05 11:44:07 -05:00
Ian Storm Taylor
f3fc2c2a54
Change <Slate>
to a controlled component ( #3216 )
...
* change <Slate> to be a controlled component
* add comment about unstable React API
2019-12-05 11:36:44 -05:00
Ian Storm Taylor
4c03b497d9
remove marks, in favor of text properties ( #3235 )
...
* remove marks, in favor of text properties
* fix lint
* fix more examples
* update docs
2019-12-05 11:21:15 -05:00
Urban Etter
31df397930
Fix check list example ( #3232 )
...
* Fix check list example
* Fix lint errors
2019-12-04 15:02:18 -05:00
Dylan Markow
75e5015cc5
Handle autoFocus after mounting ( #3226 )
2019-12-04 15:01:41 -05:00
Ian Storm Taylor
6627ba4b94
fix universal matching mode for marks ( #3230 )
...
* fix universal matching mode for marks
* fix lint
2019-12-04 12:57:15 -05:00
Dylan Markow
fe2cebb58f
Load with correct starting example ( #3220 )
2019-12-04 10:43:06 -05:00
Ian Storm Taylor
f72ef80529
Publish
...
- slate-react@0.50.11
- slate-schema@0.50.13
slate-schema@0.50.13
slate-react@0.50.11
2019-12-03 21:35:23 -05:00
Dylan Markow
f355f8a6f0
Fix child_min_invalid checks ( #3219 )
2019-12-03 21:22:05 -05:00
Ziad Beyens
b5fe096844
fix: support upper case search ( #3218 )
2019-12-03 21:19:15 -05:00
Ziad Beyens
2240ce2274
fix: ts ( #3217 )
2019-12-03 19:11:16 -05:00
Ian Storm Taylor
687f25df4b
add more schema tests
2019-12-03 15:32:09 -05:00
Ian Storm Taylor
62af4cb053
upgrade mentions example to use a portal with suggestions, closes #3206 ( #3214 )
2019-12-03 14:40:42 -05:00
Urban Etter
5a8a5dcdcf
Fix InsertImageButton in image example ( #3210 )
2019-12-03 10:59:50 -05:00
Jokcy
12d21eac2d
onCompositionEnd not need to insert text in firfox ( #3202 )
2019-12-03 01:49:23 -05:00
Ian Storm Taylor
020bb5fb1c
Publish
...
- slate-schema@0.50.12
slate-schema@0.50.12
2019-12-03 00:14:55 -05:00
Ian Storm Taylor
20da67e691
update test inspect script
2019-12-03 00:07:11 -05:00
Ian Storm Taylor
ed2b84ca7a
fix parent-based schema rules with multiple rules present
2019-12-02 23:23:30 -05:00
Ian Storm Taylor
6fc935a4b8
remove Editor.toggleMarks
from docs
2019-12-02 22:23:58 -05:00
Ian Storm Taylor
ade90ca007
Publish
...
- slate-schema@0.50.11
slate-schema@0.50.11
2019-12-02 22:23:24 -05:00
Ian Storm Taylor
d92d2257e1
fix parent schema rule normalization
2019-12-02 22:10:05 -05:00
Ian Storm Taylor
22b2ae507e
fix links in migrating guide
2019-12-02 20:03:46 -05:00
Ian Storm Taylor
20cb063a90
Publish
...
- slate-history@0.50.10
- slate-hyperscript@0.50 .8
- slate-react@0.50.10
- slate-schema@0.50.10
- slate@0.50 .8
slate@0.50.8
slate-schema@0.50.10
slate-react@0.50.10
slate-hyperscript@0.50.8
slate-history@0.50.10
2019-12-02 18:56:42 -05:00
Ian Storm Taylor
ea62ad9e44
fix inline matching, add matching arrays, closes #3174 #3191
2019-12-02 18:54:22 -05:00
Ian Storm Taylor
e39f1e77ea
fix rich-text to unwrap lists with splitting, closes #3199
2019-12-02 18:19:51 -05:00
Ian Storm Taylor
c06f82c5e8
add insertText parent path test
2019-12-02 16:33:55 -05:00
Ian Storm Taylor
258afae442
add marks empty schema test
2019-12-02 15:04:58 -05:00