Nicolas Gaborit
aec62f06ba
Update benchmark to use Value ( #1420 )
2017-11-19 12:46:52 -08:00
Ian Storm Taylor
0d43d26f91
Publish
...
- slate-react@0.10.16
2017-11-16 13:13:26 -08:00
Ian Storm Taylor
ed32159be7
fix to default window in findDOM* utils
2017-11-16 13:12:42 -08:00
Ian Storm Taylor
7cfc7fae68
Publish
...
- slate-base64-serializer@0.2.12
- slate-dev-logger@0.1.36
- slate-html-serializer@0.4.10
- slate-hyperscript@0.4.10
- slate-plain-serializer@0.4.10
- slate-prop-types@0.4.10
- slate-react@0.10.15
- slate-simulator@0.4.10
- slate@0.31.2
2017-11-16 12:21:24 -08:00
Ian Storm Taylor
2f09811fc2
Publish
...
- slate-base64-serializer@0.2.11
- slate-dev-logger@0.1.35
- slate-html-serializer@0.4.9
- slate-hyperscript@0.4.9
- slate-plain-serializer@0.4.9
- slate-prop-types@0.4.9
- slate-react@0.10.14
- slate-simulator@0.4.9
- slate@0.31.1
2017-11-16 11:49:23 -08:00
Ian Storm Taylor
ffe9f8258f
Publish
...
- slate-base64-serializer@0.2.10
- slate-dev-logger@0.1.34
- slate-html-serializer@0.4.8
- slate-hyperscript@0.4.8
- slate-plain-serializer@0.4.8
- slate-prop-types@0.4.8
- slate-react@0.10.13
- slate-simulator@0.4.8
- slate@0.31.0
2017-11-16 11:35:00 -08:00
Ian Storm Taylor
00819c1776
Publish
...
- slate-base64-serializer@0.2.9
- slate-dev-logger@0.1.33
- slate-html-serializer@0.4.7
- slate-hyperscript@0.4.7
- slate-plain-serializer@0.4.7
- slate-prop-types@0.4.7
- slate-react@0.10.12
- slate-simulator@0.4.7
- slate@0.30.7
2017-11-14 21:02:34 -08:00
Robert Dale Smith
b973580c54
corrects overscroll issue inside scrollable containers ( #1032 ) ( #1383 )
...
* corrects overscroll issue inside scrollable containers; another fix for #1032
* fix(#1032 ) - set scrollers offset if within scrollable container
2017-11-13 11:49:26 -08:00
danielsarin
038de22b43
fix calling onChange handler after Editor component unmount ( #1399 )
2017-11-13 11:48:23 -08:00
João Pereira
267800c26f
Add support to iframe ( #1396 )
...
* pass window to util functions
* remove unused getWindow function
* fix findDOMNode in after plugin
2017-11-13 11:42:09 -08:00
Gergely Illés
5a6878bccf
IE 11 compatibility, use Selection.collapse/extend instead of Selection.setBaseAndExtent ( #1386 )
...
* IE 11 compatibility, use Selection.collapse/extend instead of Selection.setBaseAndExtent
* lint
* use collapse/extend for both forward and backward selection
* lint
* use of Selection.extend if supported
* IE11 selection compat
* cleanup
* clean up IE 11 compat code
2017-11-13 11:40:20 -08:00
joehua87
0a5bfd2adc
Update find-point.js ( #1373 )
2017-11-11 15:50:53 -08:00
AlbertHilb
64eb1169af
Render text inside void nodes with a zero-width space. ( #1388 )
...
So the node can contain selection but the text is not
visible.
2017-11-11 15:35:30 -08:00
Yifeng Wang
816c981436
replace setTimeout ( #1371 )
2017-11-11 15:28:55 -08:00
Ian Storm Taylor
0afe15fa76
Publish
...
- slate-react@0.10.11
2017-11-01 21:30:28 -07:00
Irwan Fario Subastian
0a6d163ece
scroll to the correct position ( #1370 )
2017-11-01 21:28:50 -07:00
Irwan Fario Subastian
0b70ca85d5
fix scrolling on slate inside scrollable container that is not a window ( #1369 )
2017-11-01 18:43:24 -07:00
Ian Storm Taylor
7ea6d3cbeb
Publish
...
- slate-react@0.10.10
2017-11-01 11:23:08 -07:00
Ian Storm Taylor
87887e7f77
update is apple check
2017-11-01 11:19:54 -07:00
Ryan Grove
87d8eb1ba4
Fix broken iOS UA sniff that identified iOS as macOS ( #1365 )
...
UA sniffing stops at the first match when trying to determine the
client's OS. Since the macOS sniff always ran before the iOS sniff and
matched the string "mac os x", which is also present in iOS Safari's
user agent string, `IS_MAC` was always `true` for iOS Safari and
`IS_IOS` was always `false`.
The iOS sniff now runs before the macOS sniff, which prevents false
positives. Existing uses of `IS_MAC` that should also apply to iOS have
been updated to check for `IS_MAC || IS_IOS`.
This also re-fixes #1176 and #1177 , which regressed when a recent change
added `IS_IOS` checks that inadvertently prevented code from running on
iOS.
2017-11-01 11:15:45 -07:00
Ian Storm Taylor
e218f8a191
Publish
...
- slate-base64-serializer@0.2.8
- slate-dev-logger@0.1.32
- slate-html-serializer@0.4.6
- slate-hyperscript@0.4.6
- slate-plain-serializer@0.4.6
- slate-prop-types@0.4.6
- slate-react@0.10.9
- slate-simulator@0.4.6
- slate@0.30.6
2017-11-01 00:15:09 -07:00
Ian Storm Taylor
e6383cd40d
Publish
...
- slate-base64-serializer@0.2.7
- slate-dev-logger@0.1.31
- slate-html-serializer@0.4.5
- slate-hyperscript@0.4.5
- slate-plain-serializer@0.4.5
- slate-prop-types@0.4.5
- slate-react@0.10.8
- slate-simulator@0.4.5
- slate@0.30.5
2017-10-31 23:45:42 -07:00
Ian Storm Taylor
906b499ff1
Publish
...
- slate-base64-serializer@0.2.6
- slate-dev-logger@0.1.30
- slate-html-serializer@0.4.4
- slate-hyperscript@0.4.4
- slate-plain-serializer@0.4.4
- slate-prop-types@0.4.4
- slate-react@0.10.7
- slate-simulator@0.4.4
- slate@0.30.4
2017-10-31 22:44:41 -07:00
Ian Storm Taylor
fe640f7afb
Publish
...
- slate-react@0.10.6
2017-10-31 22:27:57 -07:00
Blake Embrey
8942598ef8
Avoid changing selection when deleting old content ( #1361 )
2017-10-31 22:25:29 -07:00
Ian Storm Taylor
11c9c0bef5
Publish
...
- slate-base64-serializer@0.2.5
- slate-dev-logger@0.1.29
- slate-html-serializer@0.4.3
- slate-hyperscript@0.4.3
- slate-plain-serializer@0.4.3
- slate-prop-types@0.4.3
- slate-react@0.10.5
- slate-simulator@0.4.3
- slate@0.30.3
2017-10-31 21:11:44 -07:00
Blake Embrey
6dc3c6441c
Fallback to last leaf node when inserting change ( #1359 )
2017-10-31 21:07:27 -07:00
Ian Storm Taylor
3d925a0561
Publish
...
- slate-react@0.10.4
2017-10-31 19:07:00 -07:00
Ian Storm Taylor
6b716a0d8c
fix lint
2017-10-31 19:06:01 -07:00
Blake Embrey
0d7fccc91c
Avoid executing hotkeys while composing ( #1357 )
2017-10-31 19:01:13 -07:00
Per-Kristian Nordnes
1b4532a9aa
[WIP] Scoll to selection tweaks, possible fix for #1032 ( #1165 )
...
* Scoll to selection tweaks, possible fix for #1032
* Update scroll-to-selection.js
* Update scroll-to-selection.js
2017-10-31 19:00:02 -07:00
Blake Embrey
40def34e5b
Fix native IME input at the beginning of a line ( #1353 )
2017-10-31 18:11:07 -07:00
Ian Storm Taylor
10a077059d
cleanup and add compat comments
2017-10-31 18:10:45 -07:00
Irwan Fario Subastian
ac8df1cfff
fix backward selection always changed to forward ( #1354 )
2017-10-31 18:02:22 -07:00
Blake Embrey
f9f7d34304
Avoid rendering an empty placeholder by default ( #1356 )
2017-10-31 08:32:36 -07:00
Ashutosh Rishi Ranjan
f045b597ea
[onCutOrCopy] Creating the phony copy div at the same level as the real div ( #1350 )
...
* Creating the phony copy div at the same level as the real div
* Added COMPAT desc for the Firefox scroll jump fix
* Update after.js
* Update after.js
2017-10-30 16:12:17 -07:00
Ian Storm Taylor
f973cfc8a6
Publish
...
- slate-react@0.10.3
2017-10-30 12:02:47 -07:00
Ian Storm Taylor
ce2b06af14
fix onBlur logic to prevent unfocus on window unfocus
2017-10-30 11:48:13 -07:00
Yifeng Wang
d1ee4dba57
fix blur not triggering ( #1342 )
2017-10-30 11:18:18 -07:00
Ian Storm Taylor
5973bb41a7
Publish
...
- slate-base64-serializer@0.2.4
- slate-dev-logger@0.1.28
- slate-html-serializer@0.4.2
- slate-hyperscript@0.4.2
- slate-plain-serializer@0.4.2
- slate-prop-types@0.4.2
- slate-react@0.10.2
- slate-simulator@0.4.2
- slate@0.30.2
2017-10-30 11:03:55 -07:00
Yifeng Wang
4c1392cfac
Add default transferred text ( #1333 )
...
* fix default transfer text
* fix onPaste, revert getEventTransfer
* update comment
* Update after.js
2017-10-30 10:10:13 -07:00
Ian Storm Taylor
56a9db53f4
fix placeholder to not render when composing ( #1346 )
2017-10-30 10:05:32 -07:00
Yifeng Wang
c397d0cdd7
Delete single void node when cutting ( #1336 )
...
* fix deletion on cut void nodes
* detect isCollapsed on paste
* update comment
2017-10-30 10:01:22 -07:00
Yifeng Wang
e29caf46ec
Prevent history mutation during initialization ( #1329 )
...
* fix history on init
* fix setValue save logic
* update comment
2017-10-30 09:58:38 -07:00
Yifeng Wang
3fcaedc625
fix trailing space ( #1337 )
2017-10-29 16:37:58 -07:00
AlbertHilb
49e35a1c25
Adjust drop code to the new structure of void nodes. ( #1320 )
...
* Adjust drop code to the new structure of void nodes.
* Update before.js
2017-10-29 14:46:35 -07:00
Ian Storm Taylor
03528d828b
Publish
...
- slate-base64-serializer@0.2.3
- slate-dev-logger@0.1.27
- slate-html-serializer@0.4.1
- slate-hyperscript@0.4.1
- slate-plain-serializer@0.4.1
- slate-prop-types@0.4.1
- slate-react@0.10.1
- slate-simulator@0.4.1
- slate@0.30.1
2017-10-28 16:15:26 -07:00
Ian Storm Taylor
5afcdd3c97
fix flush change logic to not stack flushes ( #1324 )
2017-10-28 15:29:01 -07:00
Yifeng Wang
97002a4835
replace <br /> to line break ( #1322 )
2017-10-28 14:41:03 -07:00
Yifeng Wang
92c48d9f1d
Improve desktop IME stability ( #1316 )
...
* add missing composing consts
* limit usage of `onbeforeinput`
* fix ime error on new line
* fix empty block test
* fix leaky case
* add comment for magic char
* fix condition logic
* revert magic char
2017-10-28 14:39:18 -07:00