MDL-19211 spellchecker TODOs

This commit is contained in:
skodak
2009-05-18 08:17:52 +00:00
parent 5505925383
commit a07ca51fdf
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -56,6 +56,8 @@ if ($usehttps) {
// $contentcss should be customizable
$contentcss = "$CFG->themewww/$theme/styles.php";
//TODO: reimplement spellchecker support - the TinyMCE one is hardcoded for linux, has encoding problems, etc.
$output = <<<EOF
function mc_init_editors() {
tinyMCE.init({
@@ -74,12 +76,12 @@ function mc_init_editors() {
apply_source_formatting: true,
remove_script_host: false,
entity_encoding: "raw",
plugins: "safari,spellchecker,table,style,layer,advhr,advimage,advlink,emotions,inlinepopups,media,searchreplace,paste,directionality,fullscreen,moodlenolink,dragmath,nonbreaking,contextmenu,insertdatetime,save,iespell,preview,print,noneditable,visualchars,xhtmlxtras,template,pagebreak",
plugins: "safari,table,style,layer,advhr,advimage,advlink,emotions,inlinepopups,media,searchreplace,paste,directionality,fullscreen,moodlenolink,dragmath,nonbreaking,contextmenu,insertdatetime,save,iespell,preview,print,noneditable,visualchars,xhtmlxtras,template,pagebreak",
theme_advanced_font_sizes: "1,2,3,4,5,6,7",
theme_advanced_layout_manager: "SimpleLayout",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1: "fontselect,fontsizeselect,formatselect,styleselect",
theme_advanced_buttons1_add: "|,undo,redo,|,search,replace,spellchecker,|,fullscreen",
theme_advanced_buttons1_add: "|,undo,redo,|,search,replace,|,fullscreen",
theme_advanced_buttons2: "bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,cite,abbr,acronym",
theme_advanced_buttons2_add: "|,selectall,cleanup,removeformat,pastetext,pasteword,|,forecolor,backcolor,|,ltr,rtl",
theme_advanced_buttons3: "bullist,numlist,outdent,indent,|,link,unlink,moodlenolink,anchor,|,insertdate,inserttime,|,emotions,image,advhr,nonbreaking,charmap",
@@ -108,12 +110,12 @@ function mc_init_editors() {
apply_source_formatting: true,
remove_script_host: false,
entity_encoding: "raw",
plugins: "safari,spellchecker,table,style,layer,advhr,advimage,advlink,emotions,inlinepopups,media,searchreplace,paste,directionality,fullscreen,moodlenolink,dragmath,nonbreaking,contextmenu,insertdatetime,save,iespell,preview,print,noneditable,visualchars,xhtmlxtras,template,pagebreak",
plugins: "safari,table,style,layer,advhr,advimage,advlink,emotions,inlinepopups,media,searchreplace,paste,directionality,fullscreen,moodlenolink,dragmath,nonbreaking,contextmenu,insertdatetime,save,iespell,preview,print,noneditable,visualchars,xhtmlxtras,template,pagebreak",
theme_advanced_font_sizes: "1,2,3,4,5,6,7",
theme_advanced_layout_manager: "SimpleLayout",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1: "fontselect,fontsizeselect,formatselect,styleselect",
theme_advanced_buttons1_add: "|,undo,redo,|,search,replace,spellchecker,|,fullscreen",
theme_advanced_buttons1_add: "|,undo,redo,|,search,replace,|,fullscreen",
theme_advanced_buttons2: "bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,cite,abbr,acronym",
theme_advanced_buttons2_add: "|,selectall,cleanup,removeformat,pastetext,pasteword,|,forecolor,backcolor,|,ltr,rtl",
theme_advanced_buttons3: "bullist,numlist,outdent,indent,|,link,unlink,moodlenolink,anchor,|,insertdate,inserttime,|,emotions,image,media,dragmath,advhr,nonbreaking,charmap",
+1 -1
View File
@@ -34,7 +34,7 @@ Removed:
*
TODO:
* customize plugins/spellchecker/*
* reimplement spellchecker support in plugins/spellchecker/*
$Id$