Ian Storm Taylor
86f4844d5d
0.16.23
v0.16.23
2017-02-23 15:04:31 -08:00
Kenneth Truong
92194f13e1
Fix jumpy scroll behaviour ( #607 )
...
* Fix jumpy scroll behaviour
I'm not sure if this is the best fix for the issue (I would have liked it to allow the browser to deal with moving the cursor into view.) but for now I think this is better than what it was before. I tried to imitate what chrome was doing when the cursor was out of view. (Except when it was partially in view but I decided to just keep it simple)
This basically checks the cursor's position and if it isn't in view it'll move the cursor into the middle of the view.
Fixes #279
Fixes #589
* Subtract Height
2017-02-23 15:02:10 -08:00
Ian Storm Taylor
c0daa27500
0.16.22
v0.16.22
2017-02-23 08:54:32 -08:00
Per-Kristian Nordnes
a67a93dd42
Fix behaviour where deleteBackward/Forward on empty block deleted the void block above/below ( #618 )
2017-02-23 08:51:59 -08:00
Anuj
2bd5bc3fa7
Fix typo: 'Charaters' => 'Characters' ( #619 )
2017-02-22 19:42:18 -08:00
Ian Storm Taylor
9b5581caa9
0.16.21
v0.16.21
2017-02-22 17:50:35 -08:00
Ian Storm Taylor
bf4e99f200
fix moveToRangeOf, collapseToStart/EndOf
2017-02-22 17:48:16 -08:00
Ian Storm Taylor
469a5fed69
0.16.20
v0.16.20
2017-02-22 15:28:29 -08:00
Ian Storm Taylor
8294ec94b7
pass in context properties to mark components, fixes #617
2017-02-22 15:26:23 -08:00
Ian Storm Taylor
9d92f2424d
0.16.19
v0.16.19
2017-02-21 16:00:27 -08:00
Per-Kristian Nordnes
6804ec1ad4
Selection: fix deprecated code call ( #613 )
2017-02-21 15:30:04 -08:00
Ian Storm Taylor
f8fe5aabe9
0.16.18
v0.16.18
2017-02-17 10:59:14 -08:00
Ian Storm Taylor
fef384bd90
Merge branch 'master' of github.com:ianstormtaylor/slate
2017-02-17 10:56:25 -08:00
Ian Storm Taylor
259e1515c9
remove the preventDefault call on void nodes
2017-02-17 10:56:17 -08:00
Ian Storm Taylor
dce2c780f7
Merge branch 'AlbertHilb-HiddenCaret'
2017-02-17 10:55:02 -08:00
Ian Storm Taylor
ea9920df5f
style fixes
2017-02-17 10:54:50 -08:00
Per-Kristian Nordnes
a5550ad23a
Various fixes for selections ( #610 )
...
* transforms/on-selection: fix deprecation warnings
* Check for selection with selection.isCollapsed (not .rangeCount)
2017-02-17 10:47:09 -08:00
Ian Storm Taylor
77ffcaae66
add preventDefault to all examples
2017-02-16 10:16:19 -08:00
Michael Plotke
da10eaeca9
Prevent an unexpected ampersand ( #604 )
2017-02-16 10:12:38 -08:00
Raffaele De Feo
85b901a4d0
Don't rely on CSS positioning to hide text caret inside Void
Inline
nodes,
...
instead make it invisible setting spacer `color` property to `transparent`.
In Chrome, replace zero-with space with hair space to avoid graphics glitches.
Update tests.
2017-02-14 21:12:36 +01:00
Ian Storm Taylor
e0be76a240
0.16.17
v0.16.17
2017-02-13 18:23:57 -08:00
Ian Storm Taylor
44303dc22f
fix html serializer default block type logic
2017-02-13 18:21:27 -08:00
Per-Kristian Nordnes
add174ef37
Allow setting a defaultBlockType as object for HTML serializer ( #595 )
...
* Allow setting a defaultBlockType as object for HTML serializer
* Add test for html deserializer default block as object
* Code enhancement/compacting
2017-02-13 18:16:08 -08:00
Ian Storm Taylor
0430efcdc8
0.16.16
v0.16.16
2017-02-13 17:19:38 -08:00
Ian Storm Taylor
aa1c3acd51
update dev deps for react 15.4
2017-02-13 17:17:16 -08:00
Ian Storm Taylor
386f750ab6
0.16.15
v0.16.15
2017-02-13 17:03:50 -08:00
Ian Storm Taylor
b5e1d165f1
Merge branch 'master' of github.com:ianstormtaylor/slate
2017-02-13 17:01:27 -08:00
Ian Storm Taylor
e4bca60752
fix to re-resolve plugins when placeholder props change, closes #601
2017-02-13 16:54:19 -08:00
Nicolas Gaborit
0c18052404
Eliminate duplicates in getBlocksAtRange ( #600 )
2017-02-13 16:31:16 -08:00
Kenneth Truong
8214641e75
Fix case in spellCheck ( #592 )
2017-02-13 16:30:48 -08:00
Stan Chang Khin Boon
3a23c21848
Add props “autoCorrect” to editor and content. ( #596 )
...
This allow user to turn off predictive text input on iOS thus mitigating #540…
2017-02-13 16:30:20 -08:00
Ian Storm Taylor
e1ea15a86f
update the react-frame-aware-selection-plugin
2017-02-13 16:28:53 -08:00
Nicolas Gaborit
17a014deac
Fix deleteAtRange with nested blocks ( #594 )
...
* Add failing test for backspace in a nested block
* Fix deleteAtRange
* Move to test to delete-at-range
* Use and improve getHighestOnlyChildParent
2017-02-13 14:27:59 -08:00
Ian Storm Taylor
7517dff092
0.16.14
v0.16.14
2017-02-07 12:28:29 -08:00
Ian Storm Taylor
303b107ca2
Merge branch 'fix-word-char-deletes'
2017-02-07 12:26:04 -08:00
Ian Storm Taylor
cab29ca19c
fix deleteing by word or character
2017-02-07 12:25:53 -08:00
Ian Storm Taylor
30c6a0126b
.
2017-02-07 12:25:43 -08:00
Ian Storm Taylor
40478a3df7
0.16.13
v0.16.13
2017-02-07 10:10:22 -08:00
Ian Storm Taylor
99bae0e892
fix tests
2017-02-07 10:08:20 -08:00
Ian Storm Taylor
a836a34786
update void spacer to hide the cursor better in inlines
2017-02-07 10:04:59 -08:00
Raffaele De Feo
4f439ab3ca
Set the display
ccs property of the void inline wrappers to inline-block
.
...
Update tests.
2017-02-07 18:08:14 +01:00
Ian Storm Taylor
d44f7e2122
0.16.12
v0.16.12
2017-02-06 17:31:06 -08:00
Ian Storm Taylor
a7f6584179
added toRaw
option to Html and Plain serializers, fixes #583 #584
2017-02-06 17:28:46 -08:00
Anuj
44cef94b04
Fixing Readme and API docs ( #579 )
...
* Fix typo
just a minor typo in the docs!
* Fix typo in API docs
* Update focus-blur example readme to reflect the correct example
* Remove extra newline
* Correct Readme on the plugins example as well
* Correct readme for RTL example
* Fix own typo.
* Adding a Readme for the tables example
2017-02-03 08:21:32 -08:00
Evgeniy Kuvshinov
e4589a04ab
Fix deleteCharBackwardAtRange
...
When we have nested inlines in startBlock, startOffset will point to the wrong character. So, i think that using startText will be correct here.
2017-02-02 01:22:38 +05:00
Ian Storm Taylor
e1b7a71583
0.16.11
v0.16.11
2017-01-31 10:25:45 -08:00
AlbertHilb
ca1e0d8c6d
Add data property to document
. ( #572 )
...
* Add data property to `document`.
Add `setDocumentDataOperation' to set document data.
Change `Raw` serializer to take into account the document `data` property.
Update docs and tests.
* Make `setNode` operation working with document node.
Rewrite `setDocumentdataOperation` using `setNode`.
* Make 'setNodeByKey' working also with document node.
* Get rid of `setDocumentDataOperation`.
2017-01-31 10:23:04 -08:00
Josh Duff
9adfc63a36
Removing unnecessary word ( #571 )
2017-01-29 19:28:57 -08:00
Josh Duff
62c16e9ab8
Add significant whitespace to fix headers on npm ( #569 )
2017-01-26 15:22:11 -08:00
Anuj
4fd1905d00
Fix typo ( #564 )
...
just a minor typo in the docs!
2017-01-25 08:25:45 -08:00