\n'); } function cleanEditor(){ window.document.SimplesEditor.SetVariable("editor", ""); } function addTextEditor(text){ text = text.replace(new RegExp("
$1
"); window.document.SimplesEditor.SetVariable("editor", text); } function jsFunc(str) { str = str.replace(new RegExp("(.*?)
","g"),"