← すべてのドキュメント

editor.htmlDecode(text)

HTTP で送信するために HTML エンコードされた文字列を、デコードされた文字列に変換します。

構文

editor.htmlDecode(text)

パラメーター

型:String

必須。デコードする文字列。

戻り値

型:String

デコードされた文字列。

使用例

var editor1 = new RichTextEditor("#div_editor1");    
var htmlcode=editor1.htmlDecode(" so a < b and b < c "); 
alert(htmlcode);