htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
"Invalid source HTML for this operation" BUG


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


boone34
New User

Apr 28, 2003, 4:10 PM

Post #1 of 3 (1702 views)
Shortcut
"Invalid source HTML for this operation" BUG Can't Post

The following code works:

<form name="dialog" method="post" action="">
<textarea name="yourFieldNameHere" style="width:800; height:150">
<p>Here is some sample text: <b>bold</b>, <i>italic</i>, <u>underline</u>. </p>
</textarea><br>
<script language="javascript1.2">
editor_generate('yourFieldNameHere');
</script>
</form>

The following code does not and gives a "Invalid source HTML for this operation" error. Note the <p> after the form tag. Otherwise the two code snipits are the same.

<form name="dialog" method="post" action="">
<p>
<textarea name="yourFieldNameHere" style="width:800; height:150">
<p>Here is some sample text: <b>bold</b>, <i>italic</i>, <u>underline</u>. </p>
</textarea><br>
<script language="javascript1.2">
editor_generate('yourFieldNameHere');
</script>
</form>


Luis
Veteran

Apr 28, 2003, 7:56 PM

Post #2 of 3 (1690 views)
Shortcut
Re: [boone34] "Invalid source HTML for this operation" BUG [In reply to] Can't Post

You are missing a closing <P> tag, all <P> tags must be closed, I don't know why.

I think this is the problem.


Don't give up!!
http://webstationone.com/test/htmlarea


blackisha
Novice

Apr 28, 2003, 8:41 PM

Post #3 of 3 (1686 views)
Shortcut
Re: [Luis] "Invalid source HTML for this operation" BUG [In reply to] Can't Post

this is the problem, took me an hour to debug

 
 
 


Search for (options)