dmitrizzle
5542766092
Managing History limits ( #1421 )
...
* Undo size is measured in rather than
* Revert local settings
2017-11-19 13:01:08 -08:00
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
59a7197f81
fix inverting of split_node and merge_node operations
2017-11-16 12:20:30 -08:00
Ian Storm Taylor
afc969b5ba
update slate-dev-logger deps
2017-11-16 11:51:22 -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
7de909cfe4
fix to make lists of operations immutable too
2017-11-16 11:48:46 -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
e567b79a88
update changelog
2017-11-16 11:33:27 -08:00
Ian Storm Taylor
f1f07da5e5
add immutable operation model, with serialization ( #1409 )
...
* add immutable operation model, with serialization
* fix split node operations, and deserializing operations
2017-11-16 11:32:13 -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
Yifeng Wang
9a5d97e6d1
fix deleteLine with first void inline node ( #1377 )
2017-11-11 15:49:33 -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
Ashutosh Rishi Ranjan
8d9971afc3
Fixed simulator handler arg order ( #1372 )
2017-11-11 15:29:27 -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
b8c60437db
update schema merge customizer for better merging
2017-11-01 00:14:30 -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
d2ff824e61
fix schema first/last rules when nodes is empty
2017-10-31 23:45:05 -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
485bfb6aa4
fix to only merge in history when possible
2017-10-31 22:43:48 -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
Ian Storm Taylor
98ed83c23b
Add schema first/last definitions ( #1360 )
...
* add `first` and `last` validations to schema
* update docs
* update schema usage in images example
* fix forced-layout example
2017-10-31 21:11:05 -07:00
Blake Embrey
6dc3c6441c
Fallback to last leaf node when inserting change ( #1359 )
2017-10-31 21:07:27 -07:00
Ch1ll0ut1
cfa8cf6834
Feature/add marks ( #1306 )
...
* add required yarnrc config to run yarn run bootstrap
* add convience method to add list of marks
* remove semicolon
* remove yarn rc
* change addMarks to simply call addMark for each mark
* add required yarnrc config to run yarn run bootstrap
* add convience method to add list of marks
* remove semicolon
* remove yarn rc
* change addMarks to simply call addMark for each mark
* rename state tag to value tag in test cases
2017-10-31 20:27:06 -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