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

15 Commits

Author SHA1 Message Date
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
ccac6102a5 fixes 2016-08-14 13:21:46 -07:00
Ian Storm Taylor
9a70188f34 loosen default shouldComponentUpdate for nodes, and make Void implicit 2016-08-04 14:12:27 -07:00
Ian Storm Taylor
17d676b639 refactor rtl support, add rtl example 2016-07-29 12:05:01 -07:00
Ian Storm Taylor
c248b3de22 add embeds example, fix to not let events propagate out of voids 2016-07-28 15:38:17 -07:00
Ian Storm Taylor
3bd000d118 add draggable nodes, first steps 2016-07-24 18:04:11 -07:00
Ian Storm Taylor
03393dabfb change void blocks to not be added automatically, and to handle focus 2016-07-22 13:24:22 -07:00
Ian Storm Taylor
54587c3318 add decorator rendering test 2016-07-18 16:18:55 -07:00
Ian Storm Taylor
7dc00a77d3 improve example tab bar styles 2016-07-06 14:54:13 -07:00
Ian Storm Taylor
aba40a2aaf got void components working 2016-06-30 10:43:24 -07:00
Ian Storm Taylor
27e71715a6 fix fragment pasting, remove <b> and <i> from paste html marks 2016-06-29 11:27:06 -07:00
Ian Storm Taylor
2f2437476e add paste html example with first stab at html serializer 2016-06-29 10:43:22 -07:00
Ian Storm Taylor
78a902d7a0 add start of image example 2016-06-28 18:26:56 -07:00
Ian Storm Taylor
85361bf749 add hovering menu example 2016-06-28 15:47:29 -07:00
Ian Storm Taylor
2743c3741d refactor examples 2016-06-24 10:22:48 -07:00