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

883 Commits

Author SHA1 Message Date
Ian Storm Taylor
8cf0a05926 handle splitting for fragments 2016-10-14 16:46:12 -07:00
Ian Storm Taylor
fa5d59c063 handle lots of splitting cases 2016-10-14 16:40:45 -07:00
Ian Storm Taylor
dfe52446e7 remove debugger call 2016-10-07 16:02:39 -07:00
Ian Storm Taylor
70ee777f37 handle joining and inserting text nodes for moveNodeByKey 2016-10-07 16:02:18 -07:00
Ian Storm Taylor
5d27344fb7 handle text cases for setNodeByKey 2016-10-06 18:39:54 -07:00
Ian Storm Taylor
db3f00db6d handle joining text nodes when removing inlines between them 2016-10-06 18:19:31 -07:00
Ian Storm Taylor
e86add851f handle removing text nodes when removing all characters 2016-10-06 11:29:12 -07:00
Ian Storm Taylor
105fba0456 handle regenerating keys on insert 2016-10-06 11:11:10 -07:00
Ian Storm Taylor
7d9620d707 Merge branch 'master' into remove-normalize 2016-10-04 15:41:17 -07:00
Ian Storm Taylor
3061b6e607 0.14.15 v0.14.15 2016-10-04 12:28:50 -07:00
eden lane
59c043863d handling ctrl + k hotkey on mac (#359)
* handling ctrl + k hotkey on mac

* fixed trailing spaces
2016-10-04 12:20:16 -07:00
Nicolas Gaborit
f87e4dc72b Remove old snapshot parameter for Transform.apply (#361) 2016-10-04 12:19:31 -07:00
Ian Storm Taylor
dd6d13e33e 0.14.14 v0.14.14 2016-09-26 21:52:47 -07:00
Ian Storm Taylor
a9f28722e5 tweak inline void component rendering, fix rendering tests 2016-09-26 21:50:21 -07:00
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
eea034abf6 remove extra normalize method 2016-09-23 11:35:09 -07:00
Ian Storm Taylor
9df223bce9 handle surrounding inline void nodes on insert 2016-09-23 11:33:29 -07:00
Ian Storm Taylor
2ed1efbdd4 add insert tests, and set inline void tests, and start normalize fix 2016-09-23 11:05:34 -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