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:
htmlArea and PHP


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.

 


famous58
Novice

Dec 27, 2004, 1:42 PM

Post #1 of 5 (2013 views)
Shortcut
htmlArea and PHP Can't Post

I searched through the threads and found this thread which is my exact problem, but the answers provided in the replies did not answer the original post.

I am trying to put htmlarea into a php page. I am NOT trying to edit any dynamic content. When I add


Code
   <script language="javascript1.2">   
editor_generate('question');
</script>



to the file (I've tried it all over the place, before, after and during the <form>) it makes the text area disapear from the page. I remove the


Code
   <script language="javascript1.2">   
editor_generate('question');
</script>



and the area shows again. Any ideas?

I've included the raw code.
--f58
____________________________
At least I'm trying...

(This post was edited by famous58 on Dec 27, 2004, 1:48 PM)
Attachments: qanda2.php (9.05 KB)


famous58
Novice

Dec 27, 2004, 1:46 PM

Post #2 of 5 (2010 views)
Shortcut
Re: [famous58] htmlArea and PHP [In reply to] Can't Post

I am also receiving a JavaScipt error:


Code
 Line: 249 
Char: 3
Error: Invalid source HTML for this operation
Code: 0



Thing is there is only 180 lines of code in the raw code and only 205 in the output.

??????????????????
--f58
____________________________
At least I'm trying...


Luis
Veteran

Dec 27, 2004, 5:07 PM

Post #3 of 5 (1993 views)
Shortcut
Re: [famous58] htmlArea and PHP [In reply to] Can't Post

Hi famous58:

I think it has something to do with the function you are calling onload. Try:

<script language="JavaScript1.2">
editor_generate('question');
setTimeout(function(){ P7_TMopen();},333);
</script>

Greetings


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


Luis
Veteran

Dec 27, 2004, 5:12 PM

Post #4 of 5 (1990 views)
Shortcut
Re: [famous58] htmlArea and PHP [In reply to] Can't Post

Make sure html is valid in your textarea's page as well as in the files you are calling for inclusion. (All tags requiring a closing tag must have a closing tag, even the <p> tag)


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


famous58
Novice

Dec 27, 2004, 5:18 PM

Post #5 of 5 (1981 views)
Shortcut
Re: [Luis] htmlArea and PHP [In reply to] Can't Post

Hi Luis.

Turns out it was the <p> problem. I removed those and it worked like a charm. No if I can just get my people to stop pasting terxt from MS Word I'd be a happy man.
--f58
____________________________
At least I'm trying...

 
 
 


Search for (options)