SoFunction
Updated on 2025-04-13

fckeditor commonly used functions


('htmlcode',new FCKDialogCommand( 'htmlcode', , ['htmlcode'].Path + 'fck_htmlcode.html', 500, 420 ) ) ;
var ohtmlcode=new FCKToolbarButton('htmlcode',);
=['htmlcode'].Path+'';
('htmlcode',ohtmlcode);

//Create an object for the htmlcode operation
var FCKhtmlcode = new Object() ;

// This added method will be called when the ok button is clicked on the pop-up window.
// This method will receive the value passed from the dialog box.

= function(strtemp,str)
{
("["+str+"]<br>"+strtemp+"<br>[/"+str+"]") ;
}