condense TinyMCE toolbar down to one line, removing table buttons (#1484747)
fix image removal in message display when message HTML includes JS event handlers
| | |
| | | CHANGELOG RoundCube Webmail |
| | | --------------------------- |
| | | |
| | | 2008/02/12 (estadtherr) |
| | | ---------- |
| | | - condense TinyMCE toolbar down to one line, removing table buttons (#1484747) |
| | | - fix image removal in message display when message HTML includes JS event handlers |
| | | |
| | | 2008/02/11 (thomasb) |
| | | ---------- |
| | | - Add function to mark the selected messages as read/unread (#1457360) |
| | |
| | | apply_source_formatting : true, |
| | | theme : 'advanced', |
| | | plugins : 'emotions,media,nonbreaking,table,searchreplace,spellchecker,visualchars', |
| | | theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent,indent,separator,link,unlink,emotions,forecolor,backcolor,formatselect,fontselect,fontsizeselect', |
| | | theme_advanced_buttons2 : 'undo,redo,image,media,hr,charmap,code,nonbreaking,visualchars,separator,search,replace,spellchecker,separator,tablecontrols', |
| | | theme_advanced_buttons1 : 'bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent,indent,separator,emotions,charmap,code,forecolor,backcolor,fontselect,fontsizeselect, separator,undo,redo,image,media', |
| | | theme_advanced_buttons2 : '', |
| | | theme_advanced_buttons3 : '', |
| | | theme_advanced_toolbar_location : 'top', |
| | | theme_advanced_toolbar_align : 'left', |
| | |
| | | while ($body != $prev_body) |
| | | { |
| | | $prev_body = $body; |
| | | $body = preg_replace('/(<[^!][^>]*\s)(on[^=>]+)=([^>]+>)/im', '$1__removed=$3', $body); |
| | | $body = preg_replace('/(<[^!][^>]*\s)on(?:load|unload|click|dblclick|mousedown|mouseup|mouseover|mousemove|mouseout|focus|blur|keypress|keydown|keyup|submit|reset|select|change)=([^>]+>)/im', '$1__removed=$2', $body); |
| | | $body = preg_replace('/(<[^!][^>]*\shref=["\']?)(javascript:)([^>]*?>)/im', '$1null:$3', $body); |
| | | } |
| | | |
| | |
| | |
|
| | | body, td, pre {
|
| | | font-family: Verdana, Arial, Helvetica, sans-serif;
|
| | | font-size: 10px;
|
| | | font-size: 12px;
|
| | | }
|
| | |
|
| | | body {
|
| | | background-color: #FFFFFF;
|
| | | background-color: #FFFFFF; |
| | | margin-left: 4px; |
| | | margin-right: 4px; |
| | | margin-top: 2px; |
| | | }
|
| | |
|
| | | .mceVisualAid {
|