My favorites | Sign in
Project Home Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 9: Does not load html
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2008


 
Reported by italo.maia@gmail.com, Jun 12, 2008
What steps will reproduce the problem?
1. Wrote some html code with mooeditable to my database
2. Tried to edit the same code with mooeditable, loading it in a textarea
3. It showed as plain text.

What is the expected output? What do you see instead?
Html code just like the one mooeditable created. Plain text loaded

What version of the product are you using? On what operating system?
svn

Please provide any additional information below.

 
Jun 13, 2008
Project Member #1 TJLeahy...@gmail.com
Are you sure that you are loading the HTML into the textarea before you create the
instance of the class?  Can you show some example code?  

I use the following to dump straight HTML into a textarea for a MooEditable (PHP/MySQL).

<textarea name="content" id="content" class="mooedit"
style="height:400px"><?=stripslashes($row['content'])?></textarea>
Jun 13, 2008
#2 italo.maia@gmail.com
Yeap, i am. I had to change a line in mooeditable(advised by someone in a forum) to
fix the behavior. Here you go, answer 81 :
http://forum.mootools.net/viewtopic.php?pid=42124
Nov 2, 2008
Project Member #3 cheeaun
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting