mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext To enable the new editor, add this line into config.php: $CFG->useneweditor = true;
This commit is contained in:
parent
a800c94891
commit
4c46c425db
8 changed files with 299 additions and 73 deletions
|
@ -22,48 +22,48 @@ HTMLArea.I18N = {
|
|||
lang: "en",
|
||||
|
||||
tooltips: {
|
||||
bold: "<?php print(get_string("bold","htmlarea"));?>",
|
||||
italic: "<?php print(get_string("italic","htmlarea"));?>",
|
||||
underline: "<?php print(get_string("underline","htmlarea"));?>",
|
||||
strikethrough: "<?php print(get_string("strikethrough","htmlarea"));?>",
|
||||
subscript: "<?php print(get_string("subscript","htmlarea"));?>",
|
||||
superscript: "<?php print(get_string("superscript","htmlarea"));?>",
|
||||
justifyleft: "<?php print(get_string("justifyleft","htmlarea"));?>",
|
||||
justifycenter: "<?php print(get_string("justifycenter","htmlarea"));?>",
|
||||
justifyright: "<?php print(get_string("justifyright","htmlarea"));?>",
|
||||
justifyfull: "<?php print(get_string("justifyfull","htmlarea"));?>",
|
||||
insertorderedlist: "<?php print(get_string("orderedlist","htmlarea"));?>",
|
||||
insertunorderedlist: "<?php print(get_string("unorderedlist","htmlarea"));?>",
|
||||
outdent: "<?php print(get_string("outdent","htmlarea"));?>",
|
||||
indent: "<?php print(get_string("indent","htmlarea"));?>",
|
||||
forecolor: "<?php print(get_string("forecolor","htmlarea"));?>",
|
||||
hilitecolor: "<?php print(get_string("hilitecolor","htmlarea"));?>",
|
||||
inserthorizontalrule: "<?php print(get_string("horizontalrule","htmlarea"));?>",
|
||||
createlink: "<?php print(get_string("createlink","htmlarea"));?>",
|
||||
insertimage: "<?php print(get_string("insertimage","htmlarea"));?>",
|
||||
inserttable: "<?php print(get_string("inserttable","htmlarea"));?>",
|
||||
htmlmode: "<?php print(get_string("htmlmode","htmlarea"));?>",
|
||||
popupeditor: "<?php print(get_string("popupeditor","htmlarea"));?>",
|
||||
about: "<?php print(get_string("about","htmlarea"));?>",
|
||||
showhelp: "<?php print(get_string("showhelp","htmlarea"));?>",
|
||||
textindicator: "<?php print(get_string("textindicator","htmlarea"));?>",
|
||||
undo: "<?php print(get_string("undo","htmlarea"));?>",
|
||||
redo: "<?php print(get_string("redo","htmlarea"));?>",
|
||||
cut: "<?php print(get_string("cut","htmlarea"));?>",
|
||||
copy: "<?php print(get_string("copy","htmlarea"));?>",
|
||||
paste: "<?php print(get_string("paste","htmlarea"));?>",
|
||||
insertsmile: "<?php print(get_string("insertsmile","htmlarea"));?>",
|
||||
insertchar: "<?php print(get_string("insertchar","htmlarea"));?>"
|
||||
bold: "<?php print(get_string("bold","editor"));?>",
|
||||
italic: "<?php print(get_string("italic","editor"));?>",
|
||||
underline: "<?php print(get_string("underline","editor"));?>",
|
||||
strikethrough: "<?php print(get_string("strikethrough","editor"));?>",
|
||||
subscript: "<?php print(get_string("subscript","editor"));?>",
|
||||
superscript: "<?php print(get_string("superscript","editor"));?>",
|
||||
justifyleft: "<?php print(get_string("justifyleft","editor"));?>",
|
||||
justifycenter: "<?php print(get_string("justifycenter","editor"));?>",
|
||||
justifyright: "<?php print(get_string("justifyright","editor"));?>",
|
||||
justifyfull: "<?php print(get_string("justifyfull","editor"));?>",
|
||||
insertorderedlist: "<?php print(get_string("orderedlist","editor"));?>",
|
||||
insertunorderedlist: "<?php print(get_string("unorderedlist","editor"));?>",
|
||||
outdent: "<?php print(get_string("outdent","editor"));?>",
|
||||
indent: "<?php print(get_string("indent","editor"));?>",
|
||||
forecolor: "<?php print(get_string("forecolor","editor"));?>",
|
||||
hilitecolor: "<?php print(get_string("hilitecolor","editor"));?>",
|
||||
inserthorizontalrule: "<?php print(get_string("horizontalrule","editor"));?>",
|
||||
createlink: "<?php print(get_string("createlink","editor"));?>",
|
||||
insertimage: "<?php print(get_string("insertimage","editor"));?>",
|
||||
inserttable: "<?php print(get_string("inserttable","editor"));?>",
|
||||
htmlmode: "<?php print(get_string("htmlmode","editor"));?>",
|
||||
popupeditor: "<?php print(get_string("popupeditor","editor"));?>",
|
||||
about: "<?php print(get_string("about","editor"));?>",
|
||||
showhelp: "<?php print(get_string("showhelp","editor"));?>",
|
||||
textindicator: "<?php print(get_string("textindicator","editor"));?>",
|
||||
undo: "<?php print(get_string("undo","editor"));?>",
|
||||
redo: "<?php print(get_string("redo","editor"));?>",
|
||||
cut: "<?php print(get_string("cut","editor"));?>",
|
||||
copy: "<?php print(get_string("copy","editor"));?>",
|
||||
paste: "<?php print(get_string("paste","editor"));?>",
|
||||
insertsmile: "<?php print(get_string("insertsmile","editor"));?>",
|
||||
insertchar: "<?php print(get_string("insertchar","editor"));?>"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "<?php print(get_string("ok","htmlarea"));?>",
|
||||
"cancel": "<?php print(get_string("cancel","htmlarea"));?>",
|
||||
"browse": "<?php print(get_string("browse","htmlarea"));?>"
|
||||
"ok": "<?php print(get_string("ok","editor"));?>",
|
||||
"cancel": "<?php print(get_string("cancel","editor"));?>",
|
||||
"browse": "<?php print(get_string("browse","editor"));?>"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "<?php print(get_string("Path","htmlarea"));?>",
|
||||
"TEXT_MODE": "<?php print(get_string("TEXT_MODE","htmlarea"));?>"
|
||||
"Path": "<?php print(get_string("Path","editor"));?>",
|
||||
"TEXT_MODE": "<?php print(get_string("TEXT_MODE","editor"));?>"
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue