Lines Matching +refs:val +refs:bold
30 * @param {String} action The action to perform (bold, italic, fontname)
49 * @param {String} action The action to perform (bold, italic, fontname)
263 * @param {String} val The color value to apply
266 forecolor: function(cmd, val) {
276 sel.anchorNode.setStyle('color', val);
279 n = this.command('inserthtml', '<span style="color: ' + val + '">' + inst.EditorSelection.CURSOR + '</span>');
284 return this._command(cmd, val);
287 this._command(cmd, val);
295 * @param {String} val The color value to apply
298 backcolor: function(cmd, val) {
311 sel.anchorNode.setStyle('backgroundColor', val);
314 n = this.command('inserthtml', '<span style="background-color: ' + val + '">' + inst.EditorSelection.CURSOR + '</span>');
319 return this._command(cmd, val);
322 this._command(cmd, val);
330 * @param {String} val The color value to apply
342 * @param {String} val The font name to apply
345 fontname2: function(cmd, val) {
346 this._command('fontname', val);
352 sel.anchorNode.set('face', val);
362 * @param {String} val The font size to apply
365 fontsize2: function(cmd, val) {
366 this._command('fontsize', val);
378 sel.anchorNode.set('size', val);
586 * @param {String} val The actual command from the justify{center,all,left,right} stubs
588 justify: function(cmd, val) {
595 this._command(val);
604 this._command(val);
694 ExecCommand.COMMANDS.bold = function() {
695 fixIETags.call(this, 'bold', 'b', 'FONT-WEIGHT: bold');