Commit Graph

131 Commits

Author SHA1 Message Date
Aleksander Machniak
8b0109d81c Add set_content() method to the editor widget 2017-12-29 13:51:09 +01:00
Aleksander Machniak
90b0cd814a Add editor-load event and enable shift-click on links in HTML editor 2017-12-28 13:57:00 +01:00
Aleksander Machniak
adc9df803b Fix var scope (#6042) 2017-11-14 07:58:54 +01:00
Aleksander Machniak
72aedd368b Fix Edge encoding bug when pasting text into the HTML editor, update to TinyMCE 4.5.8 (#5885) 2017-10-12 11:03:48 +02:00
Aleksander Machniak
79ea526d65 Fix missing cursor in HTML editor on mail reply (#5969) 2017-09-29 08:57:03 +02:00
Aleksander Machniak
9858c2a294 Merge branch 'master' into dev-elastic 2017-05-14 13:32:35 +02:00
Aleksander Machniak
533d32e991 Update to TinyMCE 4.5.7 2017-05-05 08:35:22 +02:00
Aleksander Machniak
065b16df12 Update to TinyMCE 4.5.6 2017-04-04 09:12:40 +02:00
Aleksander Machniak
7347c22af8 Update to TinyMCE 4.5.5 2017-03-17 09:20:38 +01:00
Aleksander Machniak
a928c3f988 Add editor-init event 2017-03-15 12:36:07 +01:00
Aleksander Machniak
b7e4c94972 Bring back lists buttons in TinyMCE toolbar 2017-02-13 09:10:15 +01:00
Aleksander Machniak
12a49437d2 Upgrade to TinyMCE 4.5.1 2016-12-08 16:23:56 +01:00
Aleksander Machniak
5e1da48d0c Remove external javascript code from the git repo, add jsdeps.sh script (#5535) 2016-12-03 18:26:15 +01:00
Aleksander Machniak
c42d447a55 Removed unused moxieplayer.swf 2016-10-30 14:04:38 +01:00
Aleksander Machniak
1727071816 Better handling of rcube_text_editor.replace()'s input argument, some simplification 2016-10-24 10:29:04 +02:00
Aleksander Machniak
20086193eb Support HTML input to rcube_text_editor.replace() (#5456) 2016-10-12 15:07:36 +02:00
Aleksander Machniak
5e5eab3e53 Update TinyMCE to version 4.3.13 (#5309) 2016-06-09 11:14:55 +02:00
Aleksander Machniak
7abfe41ab7 Fix bug where getting HTML editor content could steal focus from other form controls (#5223) 2016-04-24 11:12:38 +02:00
Aleksander Machniak
b0a8e36930 Fix handling of body parameter in mail compose request 2016-02-24 11:18:09 +01:00
Aleksander Machniak
0bde1c2e4d Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634) 2016-01-08 10:56:17 +01:00
Aleksander Machniak
bcd3799954 Fix redundant blank lines when using HTML and top posting (#1490576) 2015-10-28 09:39:26 +01:00
Aleksander Machniak
2aa9ee56fd Fix so disabling emoticons plugin really removes emoticons button from HTML editor 2015-10-27 17:18:23 +01:00
Aleksander Machniak
eb721e35b2 Update to TinyMCE 4.2 2015-10-27 16:59:58 +01:00
Aleksander Machniak
8f8beafd56 Use .get_label() consistently (instead of .gettext()) 2015-10-20 10:08:50 +02:00
Aleksander Machniak
d9ff47b011 Don't use deprecated (soon) jQuery .bind() and .unbind() methods 2015-10-13 08:57:45 +02:00
Aleksander Machniak
87d6d214f9 Fix disabled_buttons option 2015-08-29 08:41:44 +02:00
Aleksander Machniak
a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
2015-08-29 07:52:57 +02:00
Aleksander Machniak
8449e936f3 Fix removing signature when switching to identity with an empty sig in HTML mode (#1490470) 2015-08-01 17:17:56 +02:00
Aleksander Machniak
09225a41ec Add option to place signature at bottom of the quoted text even in top-posting mode [sig_below] 2015-04-16 10:55:32 +02:00
Aleksander Machniak
a172f39ff7 Fix bug where TinyMCE area height was too small on slow network connection (#1490310) 2015-03-11 19:35:07 +01:00
Aleksander Machniak
b0bb38703e Fix bug where spellchecking in HTML editor do not work after switching editor type more than once (#1490311) 2015-03-11 17:04:19 +01:00
Aleksander Machniak
db71156ab2 Update TinyMCE cache_suffix (forgot to do this after last update) 2015-03-11 13:33:48 +01:00
Aleksander Machniak
aa1ddfecae Fix cursor position on reply below the quote in HTML mode (#1490263)
Also other cursor position inconsistency. Additionally fixed
invisible cursor in HTML editor in older Firefox browser versions.
2015-02-22 19:05:49 +01:00
Aleksander Machniak
b0c9026223 Fix bug where signature could have been inserted twice after plain-to-html switch (#1490239) 2015-01-25 18:01:04 +01:00
Aleksander Machniak
681ba6fc3c Improve system security by using optional special URL with security token
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
2014-12-16 13:28:48 +01:00
Aleksander Machniak
8841810bce Update TinyMCE to 4.1.7, use cache_suffix option to prevent browser caching issues 2014-12-10 14:02:20 +01:00
Aleksander Machniak
45bfde71d2 Fix so draft auto-save does not turn spellchecker off (#1490120) 2014-10-28 11:21:18 +01:00
Aleksander Machniak
421ed1e545 Fix compose body area size, so scrollbars aren't truncated, unify padding 2014-10-27 17:51:28 +01:00
Thomas Bruederli
7d3be1f3c8 Fix restoring draft messages from localStorage if editor mode differs (#1490016) 2014-09-26 23:41:17 +02:00
Victor Benincasa
8158049884 Allow browsers internal spellchecker to work
Fix a regression introduced at 731d190 that prevents in-browser spellchecker from working.
The new TinyMCE4 option is "browser_spellcheck", before it was "gecko_spellcheck".

Related ticket: http://trac.roundcube.net/ticket/1485060
2014-08-12 00:34:30 -03:00
Aleksander Machniak
a8f4d84736 Update to TinyMCE 4.1.3 + small code improvements 2014-08-01 14:24:05 +02:00
Aleksander Machniak
9fa8368b01 Support images drag-n-drop into image browser dialog in html signature editor 2014-06-30 13:56:06 +02:00
Aleksander Machniak
3cc1afa1c2 Support images in HTML signatures (#1488676)
This enables image button and file browser in html editor for signatures
2014-06-29 16:35:18 +02:00
Aleksander Machniak
5b23114008 Improved accessibility (Tab navigation) in HTML editor's image browser 2014-06-23 14:18:51 +02:00
Aleksander Machniak
3e7536d653 Upgrade to TinyMCE 4.1.0 2014-06-18 20:44:19 +02:00
Thomas Bruederli
23c00eee86 Fix tab navigation with TinyMCE editor (#1489946) 2014-06-16 14:46:31 +02:00
Aleksander Machniak
c5bfe69e21 Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir 2014-06-04 18:42:57 +02:00
Aleksander Machniak
646b64107a Implemented Text Editor widget that integrates all operations on
textareas including HTML editor and spellchecking
2014-05-30 08:32:06 +02:00
Aleksander Machniak
28bb54ead8 Enable autolink plugin in TinyMCE (#1488845) 2014-05-28 15:57:04 +02:00
Aleksander Machniak
731d190fec Merge branch 'tinymce4'
Conflicts:
	program/js/app.js
	program/js/editor.js
	program/js/tiny_mce/tiny_mce.js
	program/steps/utils/spell_html.inc
2014-05-28 15:52:30 +02:00