[ 1 post ]

Michael Hasenstein

  • Username: hasenstein
  • Joined: Fri Mar 20, 2009 7:22 am
  • Posts: 91
  • Location: Nuernberg, Germany
  • Offline
  • Profile

Editor: how to *SET* (rich) text?

Post Posted: Mon Jun 25, 2012 5:48 am
+0-
The editor provides getContent() to get the rich text (HTML) content of the editor iframe. However, how do I SET a text?

getContent uses instance.EditorSelection.unfilter() (see editor-selection.js). Looking at that function, there is so much "yui-foobar" stuff that I'm not sure I can simply set the innerHTML of the actual editor DOM element. Looks complicated...
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum