1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 01:02:31 +01:00

849 Commits

Author SHA1 Message Date
Ian Storm Taylor
f27ccd5140 fix deleting backward/forward multiple characters, fixes #326 2016-09-15 14:49:43 -07:00
Ian Storm Taylor
3951f89e0f add note about transforms being mutable to history, fixes #323 2016-09-15 14:43:03 -07:00
Ian Storm Taylor
16ae0790f6 fix history saving logic for fresh states, fixes #325 2016-09-15 14:38:07 -07:00
Ian Storm Taylor
c04d054949 0.14.7 v0.14.7 2016-09-15 14:02:31 -07:00
Benjamin Kniffler
f20abd93db Remove dist files (#324)
* Unignore dist

* Remove dist

* Ignore dist

* Create dist folder on build
2016-09-15 11:01:13 -07:00
Somasundaram Ayyappan
08b733abe7 change toSet to toOrderedSet (#322) 2016-09-15 10:58:05 -07:00
Ian Storm Taylor
a6ef4b816f 0.14.6 v0.14.6 2016-09-14 17:05:44 -07:00
Ian Storm Taylor
a876d71c94 add dist back to gitignore 2016-09-14 17:02:35 -07:00
Ian Storm Taylor
57f75ed2bb Merge branch 'master' of https://github.com/bkniffler/slate into bkniffler-master 2016-09-14 16:57:11 -07:00
Ian Storm Taylor
0a0171e9b3 0.14.5 v0.14.5 2016-09-14 16:49:25 -07:00
Ian Storm Taylor
b6566b9a8e fix history to only merge contiguous inserts/removals, fixes #312 2016-09-14 16:46:42 -07:00
Benjamin Kniffler
a73ba5c05b Merge branch 'master' of github.com:ianstormtaylor/slate 2016-09-15 00:55:21 +02:00
Benjamin Kniffler
60329c3838 Include dist files 2016-09-15 00:52:59 +02:00
Benjamin Kniffler
644bd79e8d fix build:min/max to target dist folder 2016-09-15 00:51:50 +02:00
Ian Storm Taylor
79eafe26d8 0.14.4 v0.14.4 2016-09-14 15:09:59 -07:00
Ian Storm Taylor
14f939d463 remove debugger 2016-09-14 15:07:25 -07:00
Ian Storm Taylor
7756f769ec fix setMarkByKey by adding tests, closes #319 2016-09-14 15:04:38 -07:00
Suwijak Chaipipat
b7f317ac4b Unset selection before remove node (#316) 2016-09-14 14:48:21 -07:00
Benjamin Kniffler
c22777c740 Small fixes 2016-09-14 02:38:56 +02:00
Benjamin Kniffler
a9a9dfdb01 Merge branch 'master' of github.com:ianstormtaylor/slate 2016-09-14 02:26:10 +02:00
Benjamin Kniffler
6865435d3f Small fix 2016-09-14 02:13:34 +02:00
Benjamin Kniffler
dde1c927f5 lib tasks -> build tasks 2016-09-14 02:05:47 +02:00
Benjamin Kniffler
178983b69a Update gitignore, npmignore, readme 2016-09-14 02:01:17 +02:00
Benjamin Kniffler
2cf84d82fb Migrate lib to src and dist to lib. 2016-09-14 01:57:52 +02:00
Ian Storm Taylor
88f6ee5e12 fix typo in transform docs 2016-09-13 12:38:14 -07:00
Ian Storm Taylor
5edbe3d9b7 remove old, undocumented node-level mutating methods 2016-09-13 12:38:02 -07:00
Ian Storm Taylor
3ef82a3fbc update docs for new node-level transforms 2016-09-13 11:49:59 -07:00
Ian Storm Taylor
7b55316c18 Fix insert fragment multiple nested (#309)
* Add fixture for insertFragmentAtRange with multiple blocks in nested blocks

* Small fix for the fixture's `expected` output

* Rebase on master (0.14.x)

Moved tests to new appropriate location

* Output now expects that fragment are merged to adjacent blocks

* fix insert fragment for multiple children
2016-09-13 11:39:22 -07:00
Ian Storm Taylor
bcd85ff1bb 0.14.3 v0.14.3 2016-09-13 11:12:54 -07:00
Ian Storm Taylor
fbe3980c17 fix delete-at-range across depths, closes #306 2016-09-13 11:10:05 -07:00
Ian Storm Taylor
800ffe31e3 0.14.2 v0.14.2 2016-09-10 19:30:49 -07:00
Ian Storm Taylor
b8992c100a fix <Node> shouldComponentUpdate for blurring 2016-09-10 19:27:07 -07:00
Ian Storm Taylor
f51ac69bdf 0.14.1 v0.14.1 2016-09-10 18:33:38 -07:00
Ian Storm Taylor
46d5d9ab3a fix re-render logic for leaf nodes on blur/focus 2016-09-10 18:30:57 -07:00
Ian Storm Taylor
cc11861627 fix embed example to not clobber edits, closes #301 2016-09-10 17:59:01 -07:00
Ian Storm Taylor
4e610708d1 update history 2016-09-10 17:54:26 -07:00
Ian Storm Taylor
bb93142c15 0.14.0 v0.14.0 2016-09-10 17:40:24 -07:00
Ian Storm Taylor
8fc3631328 remove debugger 2016-09-10 17:37:26 -07:00
Ian Storm Taylor
caa0dcb71c update source readmes and history 2016-09-10 17:33:18 -07:00
Ian Storm Taylor
fab78c17b7 Merge branch 'add-operations' 2016-09-10 17:25:29 -07:00
Ian Storm Taylor
cc4513578a add release:next npm script 2016-09-10 17:25:20 -07:00
Ian Storm Taylor
628165eb3f merge master changes 2016-09-10 17:24:07 -07:00
Ian Storm Taylor
521f0d9f1d fix selection setting for history 2016-09-10 17:12:45 -07:00
Ian Storm Taylor
2700fb5fda 0.13.9 v0.13.9 2016-09-05 16:10:02 -07:00
eden lane
d16e08214e Fix bug with non-immediate updating of readOnly state (#292)
* Fix bug with non-immediate updating of readOnly state

* Added comment for readOnly checking
2016-09-05 16:07:05 -07:00
Ian Storm Taylor
91cc23bbdb 0.13.8 v0.13.8 2016-09-04 21:21:48 -07:00
Andrew Cobby
d6901aa416 Add failing test showing splitBlock with isVoid bug (#276)
* Add failing test showing splitBlock with isVoid bug

Not sure what I actually expected calling `splitBlock()` on void block, but I
would expect `splitBlock()` to respect a given block type's isVoid property.
This failing test demonstrates that `splitBlock()` always creates a the new
block with `isVoid: false`.

* Fix isVoid not being copied when using splitBlock()

The bug was actually inside `splitBlockAtRange`, as that's what actual drives
`splitBlock()` (I assume the bug was therefore present in both methods). The
fix is to simply copy across the `isVoid` value from the block being copied.
2016-09-04 21:19:00 -07:00
Matthew Kosloski
3c46d0544c fixed a few typos (#293) 2016-09-04 17:31:06 -07:00
Matthew Kosloski
523b8a7e6f fixed a typo where the method for focus was blur() (#294) 2016-09-04 17:30:41 -07:00
Ian Storm Taylor
66ffc732bd 0.13.7 v0.13.7 2016-09-03 17:55:06 -07:00