1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-19 14:27:07 +01:00

2918 Commits

Author SHA1 Message Date
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
Ian Storm Taylor
1d0711b723 Publish
- slate-schema@0.50.9
slate-schema@0.50.9
2019-12-02 12:13:41 -05:00
Ian Storm Taylor
cba6be7c24 fix child_* schema errors to reference child, closes #3197 2019-12-02 11:51:53 -05:00
Ian Storm Taylor
fccd0a7502 Publish
- slate-history@0.50.9
 - slate-hyperscript@0.50.7
 - slate-react@0.50.9
 - slate-schema@0.50.8
 - slate@0.50.7
slate@0.50.7 slate-schema@0.50.8 slate-react@0.50.9 slate-hyperscript@0.50.7 slate-history@0.50.9
2019-12-01 23:05:56 -05:00
Ian Storm Taylor
be88e22895 Merge branch 'master' of github.com:ianstormtaylor/slate 2019-12-01 22:53:14 -05:00
Ian Storm Taylor
00d0b36aa4 allow Editor.insertText to take all location types 2019-12-01 22:53:12 -05:00
Ziad Beyens
b1b0052705 fix: promptMention not defined (#3195)
* fix: promptMention not defined

* style: eslint
2019-12-01 20:56:28 -05:00
Ian Storm Taylor
b2d0255097 Publish
- slate-history@0.50.8
slate-history@0.50.8
2019-12-01 20:20:43 -05:00
Ian Storm Taylor
169bfe855e fix return type of withHistory 2019-12-01 20:18:57 -05:00
Ziad Beyens
2ad3dfeef8 fix: typo (#3193)
url is not defined
2019-12-01 20:18:21 -05:00
Ziad Beyens
357e3b8547 fix: typo (#3194) 2019-12-01 20:17:21 -05:00
Ian Storm Taylor
a72d21225e Publish
- slate-react@0.50.8
 - slate-schema@0.50.7
slate-schema@0.50.7 slate-react@0.50.8
2019-12-01 19:21:32 -05:00
Caleb Delnay
52e20da69a Fix missing callback dependencies in slate-react <Editable /> (#3192)
* Fix missing callback dependencies

* Fix editable formatting
2019-12-01 19:19:39 -05:00
Ziad Beyens
0dd3d17cdb fix: type (#3190) 2019-12-01 17:58:47 -05:00
Ian Storm Taylor
00826407aa expose render prop types, refactor default renderers 2019-12-01 17:56:56 -05:00
Ian Storm Taylor
bd07635b1e Publish
- slate-history@0.50.7
 - slate-hyperscript@0.50.6
 - slate-react@0.50.7
 - slate-schema@0.50.6
 - slate@0.50.6
slate@0.50.6 slate-schema@0.50.6 slate-react@0.50.7 slate-hyperscript@0.50.6 slate-history@0.50.7
2019-12-01 16:22:26 -05:00
Ian Storm Taylor
490acc502d simplify dist folder structure 2019-12-01 16:18:57 -05:00
Ziad Beyens
c12d0ff9de fix: typo (#3187) 2019-12-01 14:50:41 -05:00
Ian Storm Taylor
46f3be5319 Publish
- slate-history@0.50.6
 - slate-hyperscript@0.50.5
 - slate-react@0.50.6
 - slate-schema@0.50.5
 - slate@0.50.5
slate@0.50.5 slate-schema@0.50.5 slate-react@0.50.6 slate-hyperscript@0.50.5 slate-history@0.50.6
2019-12-01 14:48:53 -05:00
Ian Storm Taylor
0b27f04636 add match/mode to all Editor node iterators, cleanup iterators, closes #3186 2019-12-01 14:47:07 -05:00
Wee
434ce21cec feat: allow MarkTransforms methods to take a single mark (resolve #3175) (#3183) 2019-12-01 13:49:29 -05:00
Ziad Beyens
d99629517d fix: ts error (#3180)
autoFocus was not an allowed property
2019-12-01 10:45:18 -05:00
Ziad Beyens
b4c15e13c1 fix: ts error (#3179)
This JSX tag's 'children' prop expects a single child of type 'Element', but multiple children were provided.
2019-12-01 10:44:26 -05:00
Ian Storm Taylor
012d5d5086 Publish
- slate-history@0.50.5
slate-history@0.50.5
2019-11-30 18:27:50 -05:00
Wee
72d78f5a69 fix: lost redos when trigger set_selection (fix #3140) (#3176)
* fix: lost redos when trigger set_selection (fix #3140)

* Update with-history.ts
2019-11-30 17:21:24 -05:00
Ian Storm Taylor
f979332ea6 Publish
- slate-history@0.50.4
 - slate-hyperscript@0.50.4
 - slate-react@0.50.5
 - slate-schema@0.50.4
 - slate@0.50.4
slate@0.50.4 slate-schema@0.50.4 slate-react@0.50.5 slate-hyperscript@0.50.4 slate-history@0.50.4
2019-11-30 01:41:40 -05:00
Ian Storm Taylor
76afb00631 fix lint 2019-11-30 01:40:01 -05:00
Ian Storm Taylor
6bbecb1a9c Publish
- slate-history@0.50.3
 - slate-hyperscript@0.50.3
 - slate-react@0.50.4
 - slate-schema@0.50.3
 - slate@0.50.3
slate@0.50.3 slate-schema@0.50.3 slate-react@0.50.4 slate-hyperscript@0.50.3 slate-history@0.50.3
2019-11-30 01:13:08 -05:00