2011-06-18 6 views
0

リンクとアップリンクのコントロールを削除して、ckeditorを表示します。どうすれば削除できますか?どのように私はckeditorからリンクツールバーを削除できますか?

誰かが私が設定ファイルを変更せずにこれを行う方法を教えてもらえますか?私は自分のjsファイルの中からこれを行う必要があります。

ページの初期化とレンダリングを行う前に設定する必要があります。

答えて

1
FCKConfig.ToolbarSets["MyToolbarSet"] = [ 
    ['Bold', 'Italic', 'Underline'] // enumerate all buttons you need 
];  


var oFCKeditor = new FCKeditor('MyTextArea'); 
     oFCKeditor.BasePath = '<%= Url.Content("~/Scripts/fckeditor/") %>'; 
     oFCKeditor.ToolbarSet = "MyToolbarSet"; 
     oFCKeditor.Height = 300; 
     oFCKeditor.Width = 700; 
     oFCKeditor.ReplaceTextarea(); 
関連する問題