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
Yifeng Wang
4e420413bb
fix drop on inline void node ( #1376 )
2017-11-11 15:31:50 -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
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
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
slate@0.30.6
slate-simulator@0.4.6
slate-react@0.10.9
slate-prop-types@0.4.6
slate-plain-serializer@0.4.6
slate-hyperscript@0.4.6
slate-html-serializer@0.4.6
slate-dev-logger@0.1.32
slate-base64-serializer@0.2.8
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
slate@0.30.5
slate-simulator@0.4.5
slate-react@0.10.8
slate-prop-types@0.4.5
slate-plain-serializer@0.4.5
slate-hyperscript@0.4.5
slate-html-serializer@0.4.5
slate-dev-logger@0.1.31
slate-base64-serializer@0.2.7
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
slate@0.30.4
slate-simulator@0.4.4
slate-react@0.10.7
slate-prop-types@0.4.4
slate-plain-serializer@0.4.4
slate-hyperscript@0.4.4
slate-html-serializer@0.4.4
slate-dev-logger@0.1.30
slate-base64-serializer@0.2.6
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
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
Joel Gustafson
dd87e3b26d
Update saving-and-loading-html-content.md ( #1362 )
...
Fixed a typo: should be `paragraph`, not `code`.
2017-10-31 22:24:32 -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
slate@0.30.3
slate-simulator@0.4.3
slate-react@0.10.5
slate-prop-types@0.4.3
slate-plain-serializer@0.4.3
slate-hyperscript@0.4.3
slate-html-serializer@0.4.3
slate-dev-logger@0.1.29
slate-base64-serializer@0.2.5
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
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
Ian Storm Taylor
b76c26e980
update clean script
2017-10-31 19:05:24 -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
Ian Storm Taylor
411e1667d6
fix slate-react size badge
2017-10-31 14:25:05 -07:00
Ian Storm Taylor
c2fe761fcb
add version badges
2017-10-31 14:20:26 -07:00
Ian Storm Taylor
81443f0001
fix badges
2017-10-31 14:09:51 -07:00
Ian Storm Taylor
088c0b5e9e
update readme badges
2017-10-31 14:08:09 -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
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
slate@0.30.2
slate-simulator@0.4.2
slate-react@0.10.2
slate-prop-types@0.4.2
slate-plain-serializer@0.4.2
slate-hyperscript@0.4.2
slate-html-serializer@0.4.2
slate-dev-logger@0.1.28
slate-base64-serializer@0.2.4
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
489658129d
fix inserted marks ( #1338 )
2017-10-30 10:03:01 -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
bb7e30c5fb
Add history example ( #1331 )
...
* add history example
* optimize history example
* optimize layout and comments
2017-10-30 09:59:23 -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
d0172eac17
Omit focus change when traveling in history ( #1330 )
...
* omit focus change on redo/undo
* use loash instead of delete
* replace ternary operator
2017-10-30 09:57:50 -07:00