Closed GoogleCodeExporter closed 8 years ago
Hi! For clear the editor:
$('#wysiwyg').wysiwyg('clear');
Can you reproduce the error ? What the exception says ?
Using $('#wysiwyg').val() for get the editor content, should work.
Regards,
Original comment by joksnet
on 26 Sep 2008 at 1:08
[deleted comment]
I am having the same issue.
<textarea id="wysiwyg" rows="11" cols="60" value="<?php echo $content;
?>"></textarea>
Nothing appears in the jWYSIWYG editor though. Not even hardcoded values.
Original comment by tlo...@gmail.com
on 4 Dec 2008 at 11:57
I don't think theirs a value attribute for the textarea tag. try to put the
content
between the tags
<textarea id="wysiwyg" rows="11" cols="60"><?php echo $content; ?></textarea>
Original comment by revaxa...@gmail.com
on 5 Dec 2008 at 8:12
[deleted comment]
To clear the content in the editor use
$('#wysiwyg').wysiwyg('clear');
If you want to set the content of the editor on the fly you can use
$('#wysiwyg').wysiwyg('setContent' response.message);
Original comment by mohanj...@gmail.com
on 9 Feb 2009 at 12:35
Correct answers given.
Original comment by akzhan.a...@gmail.com
on 8 Dec 2009 at 6:05
Original issue reported on code.google.com by
liuqingl...@gmail.com
on 5 Aug 2008 at 6:04