Ian Storm Taylor
8af2026371
fix re-rendering of last text nodes, closes #682
2017-03-30 12:55:15 -04:00
Ian Storm Taylor
4e81f4a0fd
0.19.11
v0.19.11
2017-03-30 12:46:53 -04:00
Ian Storm Taylor
b0adb9252c
cleanup
2017-03-30 12:44:55 -04:00
Ian Storm Taylor
ef81dc856a
fix check-lists example
2017-03-30 12:30:33 -04:00
AlbertHilb
f1b147860b
Rewrite CheckListItem
component. Only the area we really want to be editable ( #696 )
...
must lie inside contenteditable elements.
2017-03-30 10:35:01 -04:00
AlbertHilb
83a94f0737
When editor contains nested editable elements, in some situations, ( #693 )
...
the focus goes to those elements. In firefox, this causes issues
with keyboard navigation and therefore it must be prevented.
2017-03-30 10:23:56 -04:00
AlbertHilb
11de44acdd
If editor contains nested editable components and the native selection enters ( #692 )
...
one of these, focus moves from the `Content` DOM element to the new active
element but editor doesn't really lose focus and selection must not be blurred.
2017-03-30 10:23:46 -04:00
AlbertHilb
8a81d73ec1
Fix mismatched event parameter. ( #694 )
2017-03-30 10:22:09 -04:00
Ian Storm Taylor
f80951ab82
0.19.10
v0.19.10
2017-03-30 00:43:12 -04:00
Ian Storm Taylor
6198708086
change selection updating logic to happen at the top-level, closes #662
2017-03-30 00:41:06 -04:00
Ian Storm Taylor
fccca74b8f
0.19.9
v0.19.9
2017-03-29 13:03:11 -04:00
Ian Storm Taylor
392fd75722
fix getPoint to work around in-editable content
2017-03-29 13:01:16 -04:00
Ian Storm Taylor
3c49ca8ed1
update history
2017-03-28 14:08:15 -04:00
Ian Storm Taylor
2c584f3f73
0.19.8
v0.19.8
2017-03-28 12:58:40 -04:00
Ian Storm Taylor
30c2b206fb
add check list example
2017-03-28 12:55:48 -04:00
Conor Cussell
6333275aa0
use correct localStorage method for setting content ( #684 )
2017-03-24 16:19:23 -07:00
Stan Chang Khin Boon
a28075edc1
Fixed autocorrect causing dupe text ( #655 )
...
* Refactored out `getPoint` from components/content to utils so as to make it more reusable.
* Fixed autocorrect causing dupe text. (#540 )
During autocorrection (in iOS’s Safari), `onSelect` event is triggered after `onBeforeInput` event.
The plugins/core updates the state during `onBeforeInput` event, thus causing selection triggered by autocorrect to be lost/overridden.
This behaviour caused dupe text bug during autocorrection.
To overcome this issue, we try to query the selection and conditionally fix out of sync cases with an additional transform before inserting the text.
* Removes Content#getPoint and use the new utility function instead.
* Renames local variable nextTransform to transform.
* Describe the solution to the autocorrect issue in a more descriptive manner.
2017-03-23 10:49:23 -07:00
Prayag Verma
3d96d2a309
Fix a typo in walkthroughs/saving-to-a-database ( #681 )
...
intial → initial
2017-03-23 10:43:34 -07:00
Ian Storm Taylor
dcdcab2baa
0.19.7
v0.19.7
2017-03-22 18:51:53 -07:00
Ian Storm Taylor
afb54f238d
fix data transfer type checking, closes #680
2017-03-22 18:49:27 -07:00
Ian Storm Taylor
5cc2133cfe
0.19.6
v0.19.6
2017-03-21 23:18:43 -07:00
Ian Storm Taylor
d8812a7f20
Perf get blocks ( #678 )
...
* improve perf of getBlocks and getInlines
* add getBlocksByType, getInlinesByType, fix getMarksByType
2017-03-21 23:15:58 -07:00
Ian Storm Taylor
f432aac6e2
0.19.5
v0.19.5
2017-03-21 22:35:02 -07:00
Ian Storm Taylor
579d741ca2
improve perf on marks functions on nodes ( #677 )
...
* refactor benchmarks, add get-marks benchmarks
* fix benchmark running
* cleanup benchmarks
* switch getMarks implementation, add getMarksByType
2017-03-21 22:32:14 -07:00
Ian Storm Taylor
6ab686ae77
Refactor benchmarks ( #675 )
...
* first stab
* refactor to nanobench
* refactor to matcha
* use hand-rolled comparison logic, ugh
* update threshold
* remove unused dependencies
* remove benchmarks from travis ci
2017-03-21 17:38:39 -07:00
Anuj
14193c30f0
Fix getFragmentAtRange to not return early when selection is in void node or collapsed ( #673 )
2017-03-21 17:27:50 -07:00
Ian Storm Taylor
376eada539
change getMarks to return an ordered set ( #672 )
2017-03-21 17:25:59 -07:00
Ian Storm Taylor
8f7cf95ee6
0.19.4
v0.19.4
2017-03-21 11:31:59 -07:00
Ian Storm Taylor
8e2dce111d
fix data transfer files support, closes #669
2017-03-21 11:29:23 -07:00
Aliaksei Simanchyk
21c6762e15
Remove warning in getFragmentAtRange for node ( #652 ) ( #657 )
...
* remove warning in getFragmentAtRange for node (#652 )
* fix typo
2017-03-18 17:02:12 -07:00
Tyler Johnson
0f59ef6447
use pageXOffset instead of scrollX for ie support ( #664 )
2017-03-18 17:01:44 -07:00
yāλu
5ce7d165aa
added onFocus, and docs. fixes #650 ( #666 )
...
* added onFocus, and docs. fixes #650
* sorted prop types declarations alphabetically
2017-03-18 16:55:22 -07:00
Ian Storm Taylor
812c881d7f
add the deserialize normalize option to the docs
2017-03-05 17:02:52 -08:00
Ian Storm Taylor
381cc8d615
0.19.3
v0.19.3
2017-03-05 16:56:50 -08:00
Ian Storm Taylor
eb4854006a
add ability to not normalize on state creation
2017-03-05 16:54:26 -08:00
Anuj
cc26e6c60a
Clarify usage of plugin.render ( #649 )
2017-03-05 00:32:44 -08:00
Ian Storm Taylor
8f3889199a
0.19.2
v0.19.2
2017-03-04 18:29:11 -08:00
Aliaksei Simanchyk
698a88a24f
fix getting index for inline node in unwrapInlineAtRange, fixes #620 ( #648 )
2017-03-04 18:26:35 -08:00
Ian Storm Taylor
54ecb63f9d
0.19.1
v0.19.1
2017-03-03 13:17:24 -08:00
Ian Storm Taylor
5d285164b6
remove renderPortal from the docs, prepping for removal
2017-03-03 13:15:04 -08:00
Ian Storm Taylor
1d8aa81460
fix how we check if running in browser, fixes #609
2017-03-03 13:11:38 -08:00
Ian Storm Taylor
26a67c50c5
fix getPoint in case of switching between editors, closes #570
2017-03-03 13:04:06 -08:00
Ian Storm Taylor
99a8753e92
0.19.0
v0.19.0
2017-03-03 12:52:28 -08:00
Ian Storm Taylor
c316a4b60a
refactor node methods, memoize more, update history
2017-03-03 12:50:17 -08:00
Anuj
5c3338782d
Methods missed in upgrade 0.17 ( #645 )
2017-03-02 22:27:23 -08:00
Ian Storm Taylor
b8543b537c
0.18.0
v0.18.0
2017-03-02 18:21:54 -08:00
Ian Storm Taylor
2a5d3ee556
rename plugin.render to renderPortal, and add plugin.render
2017-03-02 18:19:39 -08:00
Kyle Kelley
fa4f9dff6c
docs: Delete dangling } ( #642 )
2017-03-02 17:18:16 -08:00
Anuj
1d8c814a62
Fix typo: cummulative -> cumulative ( #643 )
2017-03-02 17:17:55 -08:00
Victor Pontis
16d8496760
Fix typo on installing Slate documentation ( #638 )
2017-03-01 11:40:17 -08:00