Changeset 13068
- Timestamp:
- 03/13/08 07:11:39 (10 months ago)
- Location:
- dijit/trunk/_editor
- Files:
-
- 2 modified
-
plugins/FontChoice.js (modified) (1 diff)
-
RichText.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/_editor/plugins/FontChoice.js
r13061 r13068 77 77 dijit.focus(this._focusHandle); 78 78 } 79 this.editor.execCommand(this.command, "'" + choice + "'"); 79 if(this.command == "fontName"){ choice = "'" + choice + "'"; } 80 this.editor.execCommand(this.editor._normalizeCommand(this.command), choice); 80 81 }); 81 82 }, -
dijit/trunk/_editor/RichText.js
r13054 r13068 670 670 // Firefox throws an exception if the editor is initially hidden 671 671 // so, if this fails, try again onClick by adding "once" advice 672 //TODO: try mousedown instead 672 673 var handle = dojo.connect(this, "onClick", this, function(){ 673 674 this.setDisabled(false); … … 896 897 897 898 var command = cmd.toLowerCase(); 898 if(command == "formatblock"){ 899 if(dojo.isSafari){ command = "heading"; } 900 }else if(command == "hilitecolor" && !dojo.isMoz){ 899 if(command == "hilitecolor" && !dojo.isMoz){ 901 900 command = "backcolor"; 902 901 }