- May 1, 2008David --
You can use this command to place that HTML into the editor:
myEditor.execCommand('inserthtml', 'STRING OF HTML HERE');
That will put the string of HTML in the location of the cursor.
But, you probably don't want to do that ;)
The problem is that the movie/flash and other things like that won't play properly inside the editor.
This is the example that the Yahoo! Shine team used to implement their media plugin:
You can see theirs here:
Does that help?
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +
----- Original Message ----
From: David P. Nesbitt <david_p_nesbitt@...>
Sent: Thursday, May 1, 2008 10:55:00 AM
I have a question with respect to how RTE works with embedded HTML.
When I enter an HTML embed such as below:
<object width="425" height="355"><param name="movie"
type="application/x-shockwave-flash" wmode="transparent" width="425"
it gets treated as text. Is there a way to get it to be treated as
HTML (i.e. I would like to see the embedded video in the editor)?
Yahoo! Groups Links
- << Previous post in topic Next post in topic >>