summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-28 15:57:04 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-28 15:57:04 +0200
commit28bb54ead885a5475c6db0b1b522082488f63ecc (patch)
treedf4c541302c656beff01c7c385c3e1cfbdf8fc34
parent731d190fecb1976d845f6bd18768ee528b007232 (diff)
Enable autolink plugin in TinyMCE (#1488845)
-rw-r--r--program/js/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index deef8c8d1..280eb2ae1 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -50,14 +50,14 @@ function rcmail_editor_init(config)
if (config.mode == 'identity')
$.extend(conf, {
- plugins: ['charmap code hr link paste tabfocus textcolor'],
+ plugins: ['autolink charmap code hr link paste tabfocus textcolor'],
toolbar: 'bold italic underline alignleft aligncenter alignright alignjustify'
+ ' | outdent indent charmap hr link unlink code forecolor'
+ ' | fontselect fontsizeselect'
});
else { // mail compose
$.extend(conf, {
- plugins: ['charmap code directionality emoticons link image media nonbreaking'
+ plugins: ['autolink charmap code directionality emoticons link image media nonbreaking'
+ ' paste table tabfocus textcolor searchreplace' + (config.spellcheck ? ' spellchecker' : '')],
toolbar: 'bold italic underline | alignleft aligncenter alignright alignjustify'
+ ' | bullist numlist outdent indent ltr rtl blockquote | forecolor backcolor | fontselect fontsizeselect'