Commit Graph

115 Commits

Author SHA1 Message Date
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
Aleksander Machniak
8763170d22 TinyMCE4: small improvements 2014-05-28 15:35:07 +02:00
Aleksander Machniak
b21f8bd3ef Implemented image selector dialog for TinyMCE, css fixes in classic skin for TinyMCE4 2014-05-27 20:08:36 +02:00
Aleksander Machniak
eda92ed4c0 Improved display of plain text messages and text to HTML conversion (#1488937)
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.

Also conversion of text to HTML in compose editor was modified in the same way.
2014-05-11 11:03:45 +02:00
Aleksander Machniak
4d02384dca Fix Spell button with TinyMCE4 2014-05-05 15:46:29 +02:00
Aleksander Machniak
ccb41747d9 Make TinyMCE4 buttons smaller 2014-05-05 15:27:08 +02:00
Aleksander Machniak
89d6ce6846 Update to TinyMCE 4.x 2014-05-01 11:48:29 +02:00
Thomas Bruederli
b34d679075 Specify licenses in all javascript files and blocks to please LibreJS 2014-04-27 15:35:07 +02:00
Aleksander Machniak
6fa5b437a4 Update to TinyMCE 4.x 2014-01-20 18:46:28 +01:00
Thomas Bruederli
7bfc02e122 Track typing activity in HTML editor 2013-11-10 18:49:02 +01:00
Aleksander Machniak
e28b12259f Fix issue where mails with inline images of the same name contained only the first image multiple times (#1489406) 2013-11-03 15:05:39 +01:00
Aleksander Machniak
6a91448aee Improve performance and code readability by using String's startsWith() method, other code improvements 2013-10-30 19:51:55 +01:00
Aleksander Machniak
f7b2bfba09 Bring back possibility to unset default font family and font size
Fix style attribute quoting when font-family contains double quotes
SOme code improvements
2013-09-21 11:24:16 +02:00
Dennis1993
edc49ebfc2 Update editor.js 2013-09-02 12:55:55 +02:00
Aleksander Machniak
d3d1e38d72 Fix identity selection when opening extwindow from compose window 2013-07-09 09:38:12 +02:00
Aleksander Machniak
d675abc571 Make identity signature field wider (#1489159) 2013-06-26 10:07:46 +02:00
Thomas Bruederli
762565ceea Don't add signature (again) when opening compose view in a new window 2012-11-05 18:36:36 +01:00