Ian Storm Taylor
722bf0cf83
add rendering of marks from schema
2016-08-13 17:11:22 -07:00
Ian Storm Taylor
eeb97c0611
add rendering of components from schema
2016-08-13 16:48:21 -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
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
d20b8511bb
refactor onKeyDown to use data object
2016-07-27 16:22:11 -07:00
Ian Storm Taylor
d78ddeabad
update examples for terse raw
2016-07-25 14:45:37 -07:00
Ian Storm Taylor
0ebe5b4b64
add toggleMark and toggleMarkAtRange transforms
2016-07-21 11:59:21 -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
9499b9188b
change unwrapBlock to operate only on the siblings in a range
2016-07-20 14:13:29 -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
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
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
d8783d618a
add more example readmes
2016-07-14 16:31:55 -07:00
Jared Palmer
877e2c1118
remove dangling comma that invalidated json
...
removes a dangling comma in rich-text example's state.json.
2016-07-13 20:09:54 -04:00
Ian Storm Taylor
ab12518a4b
clean up examples
2016-07-13 16:19:49 -07:00
Ian Storm Taylor
c218c1721e
cleanup the rich text example
2016-07-13 15:12:47 -07:00
Ian Storm Taylor
3d33ab3da2
add plain text serializer
2016-07-13 14:55:41 -07:00
Ian Storm Taylor
3d191dbf14
add placeholder
2016-07-11 18:36:45 -07:00
Ian Storm Taylor
9b3bcd837d
fix firefox support
2016-07-07 19:37:34 -07:00
Ian Storm Taylor
db1151bd15
add linting to examples
2016-07-07 08:35:13 -07:00
Ian Storm Taylor
de4afd38b1
cleanup renderers in examples, fixes #43
2016-07-06 14:42:59 -07:00
Ian Storm Taylor
e9ed40dd7f
remove default export, fixes #42
2016-07-06 14:21:11 -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
Ian Storm Taylor
69d2a55d33
fix examples
2016-06-23 23:59:22 -07:00
Ian Storm Taylor
38b85fe720
fix bugs in rich text example
2016-06-21 17:08:15 -07:00
Ian Storm Taylor
c3257a37d4
distinguish between block and inline nodes
2016-06-21 16:44:11 -07:00
Ian Storm Taylor
dbdf3760e9
refactor examples, normalize selections
2016-06-21 14:49:08 -07:00
Ian Storm Taylor
7fa78870c3
fix auto-markdown example
2016-06-21 10:43:04 -07:00
Ian Storm Taylor
eae70f0f17
more stuff, started adding auto-markdown example
2016-06-20 19:16:36 -07:00