Commit Graph

145 Commits

Author SHA1 Message Date
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
f0811f6f50 DOn't use deprecated (and slow) selectors 2019-04-11 10:47:11 +02:00
Aleksander Machniak
0492b1f6e5 HTML5 Upload Progress (#6177) (#6583)
Replaced all old upload progress code in favour of ajax upload progress.
Instead of posting a hidden iframe, we now use AJAX (as we did for drag-n-drop).
Removed code for old browsers. Now we support IE >= 10, Firefox > 4.
Upload progress may not work in some more, but support is quite good.
2019-02-03 09:49:02 +01:00
Aleksander Machniak
708ceb2ba0 Elastic: Add style for HTML editor content (use embed.css for this) 2018-12-07 11:57:10 +01:00
Aleksander Machniak
15c6a1754d Elastic: Shift+Tab on mail compose editor scrolls the page to the top (#6413) 2018-09-29 19:05:08 +02:00
Aleksander Machniak
fe420a4e9e Update to TinyMCE 4.8.2 2018-09-11 09:24:24 +02:00
Aleksander Machniak
c826fd502d Fix focus on the editor when switching modes 2018-06-18 13:38:09 +02:00
Aleksander Machniak
338486348e Fix adding uploaded images to image selector list 2018-06-18 09:31:23 +02:00
Aleksander Machniak
e57582baf0 Fix image upload dialog for signatures 2018-06-14 13:46:35 +02:00
Aleksander Machniak
006fed33d3 Elastic: Completed TinyMCE styling 2018-06-14 12:38:25 +02:00
Aleksander Machniak
00acb46411 Update to TinyMCE 4.7.13, refactor image selector dialog, add style for Elastic skin 2018-06-13 14:00:39 +02:00
Aleksander Machniak
2428be488e Allow style tags in HTML editor on composed/reply messages (#5751) 2018-03-18 11:09:46 +01:00
Aleksander Machniak
eb91daf00d Added 9pt and 11pt to the list of font sizes in HTML editor 2018-03-06 09:17:51 +01:00
Aleksander Machniak
31ffef67ad Skip _lang param if not set (#6203) 2018-03-01 21:10:50 +01:00
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