19 include_once($ROOT_PATH.
'wysiwyg_plugin.inc');
60 this.config.fontname = {
61 "Arial":
'arial,helvetica,sans-serif',
62 "Courier New":
'courier new,courier,monospace',
63 "Georgia":
'georgia,times new roman,times,serif',
64 "Tahoma":
'tahoma,arial,helvetica,sans-serif',
65 "Times New Roman":
'times new roman,times,serif',
66 "Verdana":
'verdana,arial,helvetica,sans-serif',
68 "WingDings":
'wingdings'
71 this.config.fontsize = {
81 this.config.formatblock = {
108 options = editor.config[txt];
131 value = (
"" + doc.queryCommandValue(cmd)).toLowerCase();
136 var options = this.config[i];
139 for (var j in options) {
141 if ((j.toLowerCase() == value) ||
142 (options[j].substr(0, value.length).toLowerCase() == value)) {
143 btn.element.selectedIndex = k;
165 this._execCommand(txt,
false, value);
168 if (HTMLArea.is_ie) {
169 value =
"<" + value +
">";
171 this._execCommand(txt,
false, value);
195 if (HTMLArea.is_ie) {
196 value =
"<" + value +
">";