1

Closed

Iframe issue

description

There is iframe issue with this editor.

If you type: <iframe src="http://www.google.com">
you'll get iframed google page in textarea.
When you switch to WYSIWYG editor you'll get: </body></html>
Closed Nov 9, 2010 at 8:59 AM by
fixed, committing updated source in a minute

comments

ivan79 wrote Aug 5, 2010 at 8:24 PM

I found simple fix.
In function bbcode2html() find
while(sc!=content)
}
and replace with:
while(sc!=content)
rep(/\/gi,">"); 
}

ivan79 wrote Aug 5, 2010 at 9:24 PM

Another bug:
when you type something in textarea with many new lines and switch bbcode -> wysiwyg again you'll get instead new lines.

ivan79 wrote Aug 7, 2010 at 10:13 PM

You cant write script text like:



This editor will remove all the text.