← Toute la documentation

editor.htmlDecode(text)

Convertit une chaîne encodée en HTML pour la transmission HTTP en chaîne décodée.

Syntaxe

editor.htmlDecode(text)

Paramètre

Type : String

Obligatoire. Chaîne à décoder.

Valeur renvoyée

Type : String

Chaîne décodée.

Exemple d’utilisation

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