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

866 Commits

Author SHA1 Message Date
Ian Storm Taylor
686cd95aab add postpublish script, closes #355 2016-09-26 21:44:42 -07:00
Ian Storm Taylor
071d7292b8 fix block void node handling, closes #358 2016-09-26 21:42:25 -07:00
Ian Storm Taylor
e63a6b36ce 0.14.13 v0.14.13 2016-09-23 09:48:58 -07:00
Samy Pessé
d1c3700bd2 Fix #234: fix typing text near inline void nodes (#339)
* Add base tests for isVoid with around text node

* Ensure that void nodes are surrounded by text nodes in Node.normalize

* Only wrap inline void nodes with text

* Fix indentation

* Add emojis example

* Adapt unit test "transforms/fixtures/at-current-range/set-inline/with-is-void"

* Adapt unit test "transforms/fixtures/at-current-range/insert-inline/with-inline"

* Adapt unit test "transforms/fixtures/at-current-range/insert-inline/block-start"

* add passing parent to leaf nodes, for rendering breaks

* add zero-width spaces in empty text nodes, to allow selections

* add zero-width space handling to copy/cut

* fix delete handling around inline void nodes

* fix tests for inline void nodes

* fix style

* fix void cursor handling across browsers

* fix void rendering tests
2016-09-23 09:46:24 -07:00
Ian Storm Taylor
f7e132ed61 0.14.12 v0.14.12 2016-09-22 16:13:45 -07:00
Ian Storm Taylor
cd822347bf update gh-pages script 2016-09-22 16:11:34 -07:00
Ian Storm Taylor
1aba4b9f94 fix deleting across nested blocks, closes #341 2016-09-22 16:08:52 -07:00
Ian Storm Taylor
785bd3e82e 0.14.11 v0.14.11 2016-09-22 15:45:02 -07:00
Ian Storm Taylor
c81c1f9d95 remove debuggers 2016-09-22 15:42:29 -07:00
Ian Storm Taylor
a1647b51be fix for splitting blocks inside inline nodes, and undoing inline wrapping
fixes #346
fixes #348
2016-09-22 15:39:03 -07:00
Suwijak Chaipipat
8300fad52b Prevent backspace to move selection into table-cell (#345) 2016-09-22 08:57:33 -07:00
Ian Storm Taylor
447a6aace4 0.14.10 v0.14.10 2016-09-21 11:46:15 -07:00
Nicolas Gaborit
bcb2fc39e5 Focus and blur should not clear marks on selection (#338)
* Do not clear mark on focus/blur

* Add tests
2016-09-21 11:43:03 -07:00
Tyler Johnson
27168a388d improvements to wrapBlockAtRange() (#343)
* add failing test for 340

* fix wrapBlockAtRange to handle multiple deep children (#340)

* failing test for wrapblock changes

* wrapBlockAtRange using top-most parent logic

* Revert "wrapBlockAtRange using top-most parent logic"

This reverts commit 4f056285f78e0ed2fc6ed34586f204c601fe8d29.
2016-09-20 15:39:54 -07:00
Ian Storm Taylor
e486e87311 0.14.9 v0.14.9 2016-09-20 11:36:53 -07:00
Samy Pessé
2fa9edc8ae Implement "splitBlockAtRange" as a node method (#336) 2016-09-20 11:32:19 -07:00
Ian Storm Taylor
5d24e30f21 0.14.8 v0.14.8 2016-09-15 14:54:06 -07:00
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