← すべてのドキュメント

editor.setContentCssText(csstext)

このメソッドは、編集領域で使われるインラインの CSS テキストを設定します。

構文

editor.setContentCssText(csstext)

パラメーター

型:String

編集領域で使われる CSS テキスト。

使用例

var editor1 = new RichTextEditor("#div_editor1");      
editor1.setContentCssText("body{background-color:gray}");