mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 14:16:23 +00:00
Fixes for CKEDITOR
Monotone-Parent: 4b74905cc02ae0545c5ebcfdc467b052d5d42568 Monotone-Revision: 97c9c9c324c392626b96db873449bcc7892993b9 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-26T15:08:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -581,15 +581,14 @@ function initMailEditor() {
|
||||
if (composeMode == "html") {
|
||||
CKEDITOR.replace('text',
|
||||
{
|
||||
skin: "v2",
|
||||
toolbar :
|
||||
toolbar :
|
||||
[['Bold', 'Italic', '-', 'NumberedList',
|
||||
'BulletedList', '-', 'Link', 'Unlink', 'Image',
|
||||
'JustifyLeft','JustifyCenter','JustifyRight',
|
||||
'JustifyBlock','Font','FontSize','-','TextColor',
|
||||
'BGColor']
|
||||
]
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -762,8 +761,8 @@ function onWindowResize(event) {
|
||||
var ck_bottom = $("cke_bottom_text");
|
||||
var content = $("cke_contents_text");
|
||||
var top = hr.offsetTop;
|
||||
ck_bottom.ancestors ().first ().style.display = "none";
|
||||
var height = Math.floor(window.height() - top - ck_top.getHeight() - ck_bottom.getHeight());
|
||||
height = height - 15;
|
||||
|
||||
if (Prototype.Browser.IE) {
|
||||
editor.style.width = '';
|
||||
|
||||
Reference in New Issue
Block a user