@@ -, +, @@ - Increases the width of the editor to fill the space provided - Adjusts the layout of the toolbars to better fit the space - Adds a custom editor stylesheet to make the contents of the editor better match the expected output --- koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css | 4 ++++ .../intranet-tmpl/prog/en/modules/help/edithelp.tt | 9 +++++---- .../prog/en/modules/tools/koha-news.tt | 16 +++++++++------- 3 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css --- a/koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css @@ -0,0 +1,4 @@ +body, td, pre { + font-family: Arial,Helvetica,sans-serif; + font-size: 13px; +} --- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt @@ -5,12 +5,13 @@ tinyMCE.init({ mode : "textareas", theme : "advanced", + content_css : "[% themelang %]/css/tinymce.css", plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu", theme_advanced_disable : "underline,strikethrough,styleselect,image", - theme_advanced_buttons1_add_before : "save,separator", - theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator", - theme_advanced_buttons3_add_before : "tablecontrols,separator", - theme_advanced_buttons3_add : "iespell,advhr,separator,print", + theme_advanced_buttons1_add_before : "save,|", + theme_advanced_buttons2_add_before: "cut,copy,paste,|,search,replace,|", + theme_advanced_buttons3_add_before : "tablecontrols,|", + theme_advanced_buttons3_add : "iespell,advhr,|,print", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -17,19 +17,21 @@ $(document).ready(function() { --