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

97 Commits

Author SHA1 Message Date
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
42f4aa629c fix to prevent being able to drag text into a void 2016-07-22 17:04:16 -07:00
Ian Storm Taylor
ebb1625e29 add drag and drop support 2016-07-22 16:58:24 -07:00
Ian Storm Taylor
384af9ea3a refactor for coding style 2016-07-22 14:16:17 -07:00
Mathieu Dutour
f19f39a8b3 fix performance issue in Leaf (#158) 2016-07-22 14:15:12 -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
1784f25caa fix styles for void, fix tests for void rendering 2016-07-22 13:39:02 -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
52e6de488b fix to remove need for core plugin to define a default renderMark 2016-07-22 12:39:00 -07:00
Ian Storm Taylor
3c2b1b730b fix to not re-render when new selection is inside text nodes 2016-07-22 12:37:37 -07:00
Ian Storm Taylor
e8fdacd340 fix to account for renderDecorations being undefined 2016-07-22 12:37:21 -07:00
Ian Storm Taylor
06c7e885f8 add data-key attribute to Text component 2016-07-22 12:15:33 -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
cac82ac65b fix for firefox erroring on copy/cut, closes #142 2016-07-21 10:53:52 -07:00
Ian Storm Taylor
3145a6b085 fix to not update placeholder before one exists 2016-07-21 10:27:42 -07:00
Ian Storm Taylor
a33a4ace5b fix placeholder to reposition on window resize, closes #132 2016-07-21 10:14:59 -07:00
Ian Storm Taylor
99146bc536 fix early ending of composition mode 2016-07-21 09:34:46 -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
fc950b7ca4 fix <Content> to have looser shouldComponentUpdate 2016-07-20 15:20:48 -07:00
Ian Storm Taylor
d0c8ce0c08 add the ability to render based on multiple marks (#138)
closes #33
2016-07-20 15:11:13 -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
1e433b36ae fix arrow key breaking bug 2016-07-19 11:32:48 -07:00
Ian Storm Taylor
0a4bb4379d fix to hide the formatting menu in ios 2016-07-19 11:27:34 -07:00
Ian Storm Taylor
7ad10538e4 fix arrow keys during composing, fix composing in empty blocks 2016-07-19 11:09:17 -07:00
Ian Storm Taylor
11dd17696f fix arrow keys during composition 2016-07-19 10:13:48 -07:00
Ian Storm Taylor
f7905d754f fix backwards selection logic, closes #125 2016-07-19 09:37:09 -07:00
Ian Storm Taylor
f2841a689d add basic composition support 2016-07-18 18:36:38 -07:00
Ian Storm Taylor
c41046ac17 add onDocumentChange and onSelectionChange properties to editor 2016-07-18 13:30:37 -07:00
Ian Storm Taylor
062b4a6443 fix to not re-resolve plugins on every update, closes #112 2016-07-17 16:21:23 -07:00
Ian Storm Taylor
c489eee418 add read-only mode, closes #108 #106 2016-07-17 15:57:27 -07:00
Ian Storm Taylor
6140386f2e remove array.includes for compatibility, closes #110 2016-07-17 15:47:36 -07:00
Ian Storm Taylor
d995b1ab35 fix a few void block transform and rendering bugs 2016-07-15 12:49:29 -07:00
Ian Storm Taylor
2aa8239448 fix wrapInline selecting, add rendering tests 2016-07-13 18:56:03 -07:00
Ian Storm Taylor
2f22fb3366 fix placeholder positioning 2016-07-11 19:44:24 -07:00
Ian Storm Taylor
aec4d299ce fix typo 2016-07-11 19:32:02 -07:00
Ian Storm Taylor
56cc6101d9 add editor className and style properties 2016-07-11 19:28:35 -07:00
Ian Storm Taylor
1d075c71c7 add editor placeholder styles properties 2016-07-11 19:24:10 -07:00
Ian Storm Taylor
1dd2ff6243 placeholder fixes 2016-07-11 19:06:08 -07:00
Ian Storm Taylor
3d191dbf14 add placeholder 2016-07-11 18:36:45 -07:00
Ian Storm Taylor
806ffc38df add blur/focus, add dist 2016-07-11 16:44:37 -07:00
Ian Storm Taylor
b6f7f70c53 update docs 2016-07-11 13:47:28 -07:00
Ian Storm Taylor
4cafb94837 add more docs 2016-07-08 12:24:49 -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
6a25bee4e4 update components readme 2016-07-06 16:07:28 -07:00
Ian Storm Taylor
702ac2940f update components readme 2016-07-06 16:07:00 -07:00
Ian Storm Taylor
28e6753f3b update components readme 2016-07-06 15:59:16 -07:00
Ian Storm Taylor
bee2a6d9be update components readme 2016-07-06 15:43:59 -07:00