[Dojo-interest] filtering of RichText editor content

Kristian Marinkovic kristian.marinkovic at porsche.co.at
Mon Feb 26 06:57:06 MST 2007


hi all,

is the dojo editor capable of replacing the "editable" node text
with the new editted text without having HTML tags in it?

when i read the content via "getEditorContent()" before the
editor is closed i just get the string. After the editor is closed
i get the formatted string that contains HTML tags.

i was not able to add a content filter.

please help

greetings,
kris

mycode:

<script>
function startEdit(e) {
   if(e.target.parentNode.parentNode.parentNode.id != "contact_pane")
      return;
   editor = dojo.widget.createWidget(
      "RichText",
      {toolbarTemplatePath:null},
      e.target);
}
</script>

<div id="content_pane">
   <div>
      <p>
         <span>nummer</span>
      </p>
   </div>
</div>



More information about the Dojo-interest mailing list