R41nGoloss
af29cf6e70
fix typo in transfer ( #247 )
2016-08-17 02:58:35 -07:00
Ian Storm Taylor
8b5305f239
first stab at adding a schema to core
2016-08-12 11:33:48 -07:00
Ian Storm Taylor
5d89fab5e9
fix data transfer with empty html strings
2016-08-09 12:45:46 -07:00
Ian Storm Taylor
454bc8020b
add full support for file data transfers
2016-08-09 12:25:08 -07:00
Ian Storm Taylor
55ab4aafd5
update iframe rendering logic, refactor iframes example
2016-08-05 12:40:54 -07:00
Vladimir
9cb361dc29
Lint errors fixes.
2016-08-03 04:03:43 +03:00
Vladimir
186f1a7c6d
Core component will deduce the context from the dispatched event.target element
2016-08-03 03:27:33 +03: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
3448dac17b
fix to greatly improve performance, and void selections in void nodes
2016-07-26 16:58:42 -07:00
Ian Storm Taylor
8393a8baaf
update placeholder positioning and offset key resolving
2016-07-26 11:07:31 -07:00
Ian Storm Taylor
3bd000d118
add draggable nodes, first steps
2016-07-24 18:04:11 -07:00
Ian Storm Taylor
b65e218b25
add ability to drag/drop across slate instances
2016-07-22 21:16:42 -07:00
Ian Storm Taylor
2a58f71c42
add support for spellcheck
2016-07-22 20:21:50 -07:00
Ian Storm Taylor
9fc49f9ea5
fix base64 encoding to handle non utf8 characters
2016-07-22 14:12:31 -07:00
Ian Storm Taylor
950617cd6c
move groupByMarks util into Text model as methods
2016-07-22 12:12:23 -07:00
Ian Storm Taylor
ac59e94a15
fix to use index instead of start and end in offset keys
2016-07-22 12:03:55 -07:00
Ian Storm Taylor
1a3ef3854b
add helpful error to findDOMNode util, closes #147
2016-07-21 10:07:25 -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
a9272f7274
add serialization to html serializer
2016-07-20 09:22:55 -07:00
Ian Storm Taylor
6140386f2e
remove array.includes for compatibility, closes #110
2016-07-17 15:47:36 -07:00
Ian Storm Taylor
bf1ea4f975
fix delete forward/backward to be unicode aware, closes #87
2016-07-14 13:42:10 -07:00
Ian Storm Taylor
d324165978
adds ability to delete in word or line increments, fixes #80
2016-07-14 13:20:27 -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
226b6592dc
add linting
2016-07-06 20:19:19 -07:00
Ian Storm Taylor
ef207a35b9
update utils readme
2016-07-06 16:21:42 -07:00
Ian Storm Taylor
047488dfbb
add more readmes
2016-07-06 16:21:05 -07:00
Ian Storm Taylor
aba40a2aaf
got void components working
2016-06-30 10:43:24 -07:00
Ian Storm Taylor
0c22e6172b
fix prevent default on key down
2016-06-27 17:16:18 -07:00
Ian Storm Taylor
f6c1e8de28
fix fragment pasting
2016-06-27 14:08:30 -07:00
Ian Storm Taylor
1c45670ff8
adding selections to transforms
2016-06-23 15:39:44 -07:00
Ian Storm Taylor
74cab690e3
broke lots of stuff, but added tests
2016-06-22 18:42:49 -07:00
Ian Storm Taylor
420d38edec
bug fixing
2016-06-20 13:21:24 -07:00
Ian Storm Taylor
e293c9794c
more work on richtext
2016-06-19 00:41:36 -07:00
Ian Storm Taylor
7435c4019c
added start of richtext example, refactor range grouping logic
2016-06-18 23:54:08 -07:00
Ian Storm Taylor
2d46528aae
wow big refactor, added raw serializer
2016-06-17 18:20:26 -07:00
Ian Storm Taylor
8ecf90bf7c
lots of progress and cleanup
2016-06-17 00:09:54 -07:00
Ian Storm Taylor
0995c9cd96
cleanup, set keys automatically
2016-06-16 09:24:18 -07:00
Ian Storm Taylor
56727704ee
remove unnecessary models
2016-06-15 20:00:41 -07:00
Ian Storm Taylor
1788139445
got backwards selections working!
2016-06-15 19:46:53 -07:00
Ian Storm Taylor
64574c4f64
got basic selection working
2016-06-15 14:47:52 -07:00
Ian Storm Taylor
567884c9f2
first commit
2016-06-15 12:07:12 -07:00