Ian Storm Taylor
454bc8020b
add full support for file data transfers
2016-08-09 12:25:08 -07:00
Ian Storm Taylor
030beab8cd
fix bundled file, add bundled installation guide
2016-08-07 17:25:43 -07:00
Ian Storm Taylor
5a6d3c4534
fix iframes example line breaks
2016-08-05 12:47:29 -07:00
Ian Storm Taylor
55ab4aafd5
update iframe rendering logic, refactor iframes example
2016-08-05 12:40:54 -07:00
Ian Storm Taylor
30453d6821
Merge branch 'add/render-to-iframe' of https://github.com/vleletko/slate into add-iframe
2016-08-05 10:46:40 -07:00
Ian Storm Taylor
9a70188f34
loosen default shouldComponentUpdate for nodes, and make Void implicit
2016-08-04 14:12:27 -07:00
Vladimir
9cb361dc29
Lint errors fixes.
2016-08-03 04:03:43 +03:00
Vladimir
95eb2c0bdf
Example how to render slate to IFrame
2016-08-03 03:31:26 +03:00
Ian Storm Taylor
0eea98d4a9
fix link example
2016-08-02 10:33:02 -07:00
Vladimir
5fa616a01d
Added example skeleton. IFrame component + basic usage
2016-08-02 11:08:07 +03:00
Ian Storm Taylor
789c4b3002
fix void leaf selection handling
2016-08-01 18:26:27 -07:00
Ian Storm Taylor
39aaa916ec
fix to only double new lines on last leaf
2016-08-01 15:18:37 -07:00
Ian Storm Taylor
5e9f19db92
remove extra style prop from editor example
2016-08-01 13:48:23 -07:00
Ian Storm Taylor
560b28ce32
add debug points, remove unused deps, fix composition
2016-08-01 13:45:46 -07:00
Ian Storm Taylor
99d1c283f0
add prod and dev examples
2016-07-29 12:44:35 -07:00
Ian Storm Taylor
17d676b639
refactor rtl support, add rtl example
2016-07-29 12:05:01 -07:00
Samy Pessé
845e284ee4
Add RTL support ( #204 )
...
* Add property textAlignment for the whole editor
* textAlignment should be set on Content
* Add basic for directionMap in State
* Add RTL to example
* Use setDocument for updating direction map when inserting blocks
* Remove debug log
* Only add 'dir' to node when is not default value
* Prevent tests from failing because of .DS_Store on OSX
* Add tests for rtl rendering
* Fix rendering tests
* Fix test for rendering "text-direction"
* Remove textAlignment prop on editor
* Don't use a directionMap but directly a "textDir" on nodes
* Remove .setDocument from State
2016-07-29 11:25:07 -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
5e6f5b9cd1
add event handlers to reference
2016-07-27 22:45:25 -07:00
Ian Storm Taylor
1a6c3c153e
fix selection settings in links example
2016-07-27 22:31:39 -07:00
Ian Storm Taylor
1c86b2fcf7
fix deleting sibling inline node
2016-07-27 22:30:37 -07:00
Ian Storm Taylor
d20b8511bb
refactor onKeyDown to use data object
2016-07-27 16:22:11 -07:00
Ian Storm Taylor
3448dac17b
fix to greatly improve performance, and void selections in void nodes
2016-07-26 16:58:42 -07:00
Ian Storm Taylor
b506098a29
add plugins example, fix soft break handling
2016-07-26 12:15:21 -07:00
Ian Storm Taylor
569e940fd1
add node component, cleanup draggable/void interactions
2016-07-25 16:46:17 -07:00
Ian Storm Taylor
d78ddeabad
update examples for terse raw
2016-07-25 14:45:37 -07:00
Ian Storm Taylor
3bd000d118
add draggable nodes, first steps
2016-07-24 18:04:11 -07:00
Ian Storm Taylor
e80799252f
add always ending in paragraph to image example
2016-07-22 21:28:28 -07:00
Ian Storm Taylor
31782cb11a
remove selection state handling from image block in examples
2016-07-22 13:28:38 -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
6993b0c666
change a few examples to omit ranges for cleanliness
2016-07-21 16:41:35 -07:00
Ian Storm Taylor
0ebe5b4b64
add toggleMark and toggleMarkAtRange transforms
2016-07-21 11:59:21 -07:00
Ian Storm Taylor
38eccfb436
switch from makefile to npm scripts, closes #144
2016-07-21 01:59:44 -07:00
Ian Storm Taylor
f1b961fc35
add memoization and clean up node methods ( #141 )
...
* cleanup node methods
* add first stab at memoization of node methods
* rename getTextNodes() to getTexts() for consistency
2016-07-20 21:36:52 -07:00
Ian Storm Taylor
8654dfc929
fix rich text example
2016-07-20 14:59:10 -07:00
Ian Storm Taylor
a0cd5364c1
fix webkit modify styles for read-only mode, closes #137
2016-07-20 14:46:44 -07:00
Ian Storm Taylor
9499b9188b
change unwrapBlock to operate only on the siblings in a range
2016-07-20 14:13:29 -07:00
Ian Storm Taylor
ed6000b210
remove is-image-url dev dep since it isnt backwards compatible
2016-07-19 11:22:09 -07:00
Ian Storm Taylor
826956c2c9
fix "secret" behavior of image example
2016-07-18 16:34:28 -07:00
Ian Storm Taylor
54587c3318
add decorator rendering test
2016-07-18 16:18:55 -07:00
Ian Storm Taylor
a9314f58a9
add default should component update ( #124 )
...
* add development performance testing examples
* refactor node map methods to be optimized
* fix updateDescendants return value
* remove console logs
* remove extra console log
2016-07-18 15:30:46 -07:00
Ian Storm Taylor
c717f8429f
add paste linkifying to link example
2016-07-18 13:06:10 -07:00
Somasundaram Ayyappan
0289edfc29
Rename mark/unmark transforms to addMark/removeMark ( #113 )
...
* Rename mark/unmark transforms to addMark/removeMark
* delete gitkeep
2016-07-18 12:00:30 -07:00
Ian Storm Taylor
7930df4fc2
fix read-only example readme
2016-07-17 16:32:20 -07:00
Ian Storm Taylor
c489eee418
add read-only mode, closes #108 #106
2016-07-17 15:57:27 -07:00
Ian Storm Taylor
ca1dfd904d
swap html serializer to take rules in options dictionary
2016-07-17 15:40:38 -07:00
Ian Storm Taylor
c0c1133236
fix rich-text example lists
2016-07-15 16:08:13 -07:00
Julian Krispel-Samsel
9c020d9a04
Typos ( #95 )
2016-07-15 16:02:03 -07:00
Ian Storm Taylor
5aee46f8df
add icon image, add gh-pages cname
2016-07-15 13:22:38 -07:00
Ian Storm Taylor
50062f7a9f
update examples html title
2016-07-15 10:07:12 -07:00