[Zope-CMF] Using CMFVisualEditor

Clare Scrivener clare@charmedcircle.co.uk
Wed, 21 May 2003 14:03:05 +0100


Does anyone have any info about using CMFVisualEditor in a form?

At the moment I have used:
  <form action="formtest" method="post" enctype="multipart/form-data">
  <iframe name="visedit"
          style="width:507px; height:400px; border:solid gray 1 px;"
          src="visualeditor_edit?BASEURL=http://my_url">
  </iframe>
  <textarea name="data:text" rows="1" cols="60" style="visibility:hidden;">
  </textarea>
  <input type="submit" value="ok" />
  </form>

I read that CMFVisualEditor uses the textarea named "data:text" in the form,
but input into the VisualEditor inline frame does not end up in the data
variable
in the request.

Any ideas?

Clare