Lines Matching +refs:val +refs:bold
32 * @param {String} action The action to perform (bold, italic, fontname)
51 * @param {String} action The action to perform (bold, italic, fontname)
265 * @param {String} val The color value to apply
268 forecolor: function(cmd, val) {
278 sel.anchorNode.setStyle('color', val);
281 n = this.command('inserthtml', '<span style="color: ' + val + '">' + inst.EditorSelection.CURSOR + '</span>');
286 return this._command(cmd, val);
289 this._command(cmd, val);
297 * @param {String} val The color value to apply
300 backcolor: function(cmd, val) {
313 sel.anchorNode.setStyle('backgroundColor', val);
316 n = this.command('inserthtml', '<span style="background-color: ' + val + '">' + inst.EditorSelection.CURSOR + '</span>');
321 return this._command(cmd, val);
324 this._command(cmd, val);
332 * @param {String} val The color value to apply
344 * @param {String} val The font name to apply
347 fontname2: function(cmd, val) {
348 this._command('fontname', val);
354 sel.anchorNode.set('face', val);
364 * @param {String} val The font size to apply
367 fontsize2: function(cmd, val) {
368 this._command('fontsize', val);
380 sel.anchorNode.set('size', val);
588 * @param {String} val The actual command from the justify{center,all,left,right} stubs
590 justify: function(cmd, val) {
597 this._command(val);
606 this._command(val);
696 ExecCommand.COMMANDS.bold = function() {
697 fixIETags.call(this, 'bold', 'b', 'FONT-WEIGHT: bold');