Ian Storm Taylor
b375660aa9
refactor hotkeys to constants, and add transforms ( #1251 )
...
* refactor hotkeys to constants, and add transforms
* update hotkey helper
2017-10-17 18:18:27 -07:00
Ian Storm Taylor
b8693eb9ba
add other react utils to reference sidebar
2017-10-17 09:35:24 -07:00
Ian Storm Taylor
a341f4d4eb
fix docs pages and plugins example
2017-10-17 09:22:08 -07:00
Ian Storm Taylor
54ec11e199
update walkthroughs, docs and changelog
2017-10-16 21:13:07 -07:00
Ian Storm Taylor
a9e037a6a7
Publish
...
- slate-react@0.6.0
slate-react@0.6.0
2017-10-16 21:04:57 -07:00
Ian Storm Taylor
11b2003f53
Remove data ( #1244 )
...
* remove data from event handler signatures
* standardize known transfer types
* add setEventTransfer to docs
* update examples, fix drag/drop
* fix tests and draggable attribute setting
2017-10-16 21:04:16 -07:00
Ian Storm Taylor
ba5263e0f6
Publish
...
- slate-react@0.5.5
slate-react@0.5.5
2017-10-16 20:37:03 -07:00
Ian Storm Taylor
fb0bdfa28b
fix linter
2017-10-16 20:35:18 -07:00
Ian Storm Taylor
276ed274b1
fix drag/drop
2017-10-16 20:33:04 -07:00
Ian Storm Taylor
6422de5b56
Publish
...
- slate-react@0.5.4
slate-react@0.5.4
2017-10-16 19:57:10 -07:00
Ian Storm Taylor
1d140e70fb
fix missing return true for before plugin
2017-10-16 19:56:28 -07:00
Ian Storm Taylor
045c1879f4
update changelog and docs
2017-10-16 18:58:31 -07:00
Ian Storm Taylor
c315a38bb5
Publish
...
- slate-base64-serializer@0.1.16
- slate-dev-logger@0.1.17
- slate-html-serializer@0.2.2
- slate-hyperscript@0.2.2
- slate-plain-serializer@0.2.2
- slate-prop-types@0.2.2
- slate-react@0.5.3
- slate-simulator@0.1.16
- slate@0.27.2
slate@0.27.2
slate-simulator@0.1.16
slate-react@0.5.3
slate-prop-types@0.2.2
slate-plain-serializer@0.2.2
slate-hyperscript@0.2.2
slate-html-serializer@0.2.2
slate-dev-logger@0.1.17
slate-base64-serializer@0.1.16
2017-10-16 18:51:54 -07:00
Ian Storm Taylor
b462c2ce19
deprecate data, add getEventRange and getEventTransfer helpers ( #1243 )
2017-10-16 18:50:29 -07:00
Ian Storm Taylor
617fba2ac0
Split core plugin ( #1242 )
...
* split core into before/after, add onBeforeInput to before
* migrate handlers to before plugin, add event handlers constants
* cleanup
* refactor hotkeys into constants file
* fix serializer, disable core plugin tests
* fix linter
2017-10-16 17:31:43 -07:00
Ian Storm Taylor
6097f127ef
Publish
...
- slate-react@0.5.2
slate-react@0.5.2
2017-10-16 13:43:37 -07:00
Ryan Grove
6378c12a98
Use native beforeinput
events to handle text insertion when possible ( #1232 )
...
* Add support for finding a Slate range from a native StaticRange
* Add a `SUPPORTED_EVENTS` environment constant
This is an object mapping of DOM event names to booleans indicating
whether the browser supports that event.
* Use native `beforeinput` events to handle text insertion when possible
In browsers that support it (currently only Safari has full support),
the native `beforeinput` DOM event provides much more useful information
about text insertion than React's synthetic `onBeforeInput` event.
By handling text insertion with the native event instead of the
synthetic event when possible, we can fully support autocorrect,
spellcheck replacements, and related functionality on iOS without
resorting to hacks.
See the discussion in #1177 for more background on this change.
Fixes #1176
Fixes #1177
* Fix lint error.
2017-10-16 13:38:23 -07:00
Ian Storm Taylor
c64673f7af
update changelog ordering
2017-10-16 10:54:59 -07:00
Ian Storm Taylor
1a5c8e6ab5
update readme
2017-10-16 10:51:23 -07:00
Ian Storm Taylor
e71b9b2aaa
update readme
2017-10-16 10:45:38 -07:00
Ian Storm Taylor
78cee7d5fb
Publish
...
- slate-react@0.5.1
slate-react@0.5.1
2017-10-16 10:36:23 -07:00
Ian Storm Taylor
fe24e82d16
fix to check range count before getting ranges, closes #1237 ( #1239 )
2017-10-16 10:31:27 -07:00
Ian Storm Taylor
893140a1d8
remove release badge from readme
2017-10-16 10:25:35 -07:00
Ian Storm Taylor
e9ff2545d3
Update License.md
2017-10-15 22:13:20 -07:00
Yifeng Wang
4fe6ac36ec
disable ios compat behaviour on desktop ( #1236 )
2017-10-15 21:47:39 -07:00
Ian Storm Taylor
ca6ae43b74
Publish
...
- slate-base64-serializer@0.1.15
- slate-dev-logger@0.1.16
- slate-html-serializer@0.2.1
- slate-hyperscript@0.2.1
- slate-plain-serializer@0.2.1
- slate-prop-types@0.2.1
- slate-react@0.5.0
- slate-simulator@0.1.15
- slate@0.27.1
slate@0.27.1
slate-simulator@0.1.15
slate-react@0.5.0
slate-prop-types@0.2.1
slate-plain-serializer@0.2.1
slate-hyperscript@0.2.1
slate-html-serializer@0.2.1
slate-dev-logger@0.1.16
slate-base64-serializer@0.1.15
2017-10-15 19:24:52 -07:00
Ian Storm Taylor
95f550c427
update changelog
2017-10-15 19:24:10 -07:00
Ian Storm Taylor
f69d2c4a12
remove keyboard data.*
properties ( #1235 )
...
* update examples and walkthroughs
* deprecate data keyboard properties
* update examples
* add is-hotkey to resources doc
* udpate docs
* update docs
* fix split-block test
2017-10-15 19:23:07 -07:00
Ian Storm Taylor
c2ba87d327
Merge branch 'master' of github.com:ianstormtaylor/slate
2017-10-15 15:29:34 -07:00
Ian Storm Taylor
a7764d874f
add react-broadcast to the docs
2017-10-15 15:29:30 -07:00
Yifeng Wang
58648bc23f
fix minor doc typos ( #1233 )
2017-10-15 14:22:00 -07:00
Ian Storm Taylor
a825b95845
Update Changelog.md
2017-10-14 15:58:29 -07:00
Ian Storm Taylor
8dceea3c67
update changelogs
2017-10-14 15:40:48 -07:00
Ian Storm Taylor
f57b53c219
Publish
...
- slate-base64-serializer@0.1.14
- slate-dev-logger@0.1.15
- slate-html-serializer@0.2.0
- slate-hyperscript@0.2.0
- slate-plain-serializer@0.2.0
- slate-prop-types@0.2.0
- slate-react@0.4.0
- slate-simulator@0.1.14
- slate@0.27.0
slate@0.27.0
slate-simulator@0.1.14
slate-react@0.4.0
slate-prop-types@0.2.0
slate-plain-serializer@0.2.0
slate-hyperscript@0.2.0
slate-html-serializer@0.2.0
slate-dev-logger@0.1.15
slate-base64-serializer@0.1.14
2017-10-14 15:38:20 -07:00
Ian Storm Taylor
6c42f6c9c3
Rename Range
to Leaf
, and Selection
to Range
( #1231 )
...
* rename Range to Leaf
* rename Selection to Range
* add findDOMRange, findNode, findRange helpers
* refactor to remove findDropPoint util
* revert findDOMNode to throwing errors
* export new helpers, fix linter
* update docs
* update examples
2017-10-14 15:36:27 -07:00
来诺
d4a58543b5
Fix hovering menu ( #1230 )
...
* Fix hovering menu example by using ReactDOM.createPortal
* Format
* Fix tests
2017-10-14 13:06:27 -07:00
Ian Storm Taylor
8b9fc09377
Publish
...
- slate-react@0.3.4
slate-react@0.3.4
2017-10-14 11:22:35 -07:00
Ian Storm Taylor
35e8978655
remove void spacers in readonly, add tests
2017-10-14 10:10:47 -07:00
Ian Storm Taylor
db996df698
update docs
2017-10-13 19:39:43 -07:00
Ian Storm Taylor
5faaadf2ce
add chinese translation to the readme and docs, closes #1228
2017-10-13 19:37:11 -07:00
Ian Storm Taylor
3fef03174e
Publish
...
- slate-react@0.3.3
slate-react@0.3.3
2017-10-13 18:35:49 -07:00
Ian Storm Taylor
e815c2752c
fix findNativePoint in empty blocks, add error reporting to examples
2017-10-13 18:34:35 -07:00
Ian Storm Taylor
576fb5a133
tweak void styles, fix tests
2017-10-13 18:05:05 -07:00
Ian Storm Taylor
5c1d43e3f9
fix block void node spacing, closes #1226
2017-10-13 18:00:51 -07:00
AlbertHilb
aa2ae9f4a1
Move onDragStart
handler from Node
to Void
. ( #1167 )
2017-10-13 16:59:31 -07:00
Ian Storm Taylor
a1d2223e36
add syncing-operations example
2017-10-13 16:24:00 -07:00
Ian Storm Taylor
70a008c178
remove dev examples
2017-10-13 15:48:08 -07:00
Ian Storm Taylor
f2550be53e
update number of human feet
2017-10-13 15:45:38 -07:00
Ian Storm Taylor
a8fd9de61f
Publish
...
- slate-react@0.3.2
slate-react@0.3.2
2017-10-13 15:44:28 -07:00
Ian Storm Taylor
41b3c80f11
fix tests
2017-10-13 15:43:59 -07:00