karthick2014 / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Improvement: readonly #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

If the wysiwyg textarea element is readonly / disabled, is it possible to
make the html editor readonly / disabled as well? Moreover, is it possible
to also hide the toolbar?

Thanks

Original issue reported on code.google.com by bkej...@gmail.com on 15 Jun 2008 at 3:45

GoogleCodeExporter commented 8 years ago
It's more simply to do using

$('#editor').replaceWith($('#editor').html());

Original comment by akzhan.a...@gmail.com on 8 Dec 2009 at 10:04

GoogleCodeExporter commented 8 years ago
I wonder if I should start a new thread but it is very related to main request. 
My 
objective is to allow formatting but not allow user to modify the content of 
the text 
area. Consider like a piece of text given to user where he can format important 
segments as per his likings, but he can't change the content itself. I don't 
want 
formatting to be disabled for it but I want the readonly flag to be honored by 
jwysiwyg. Please let me know if there are workarounds already which I couldn't 
find on 
internet or in this forum.

Original comment by atripath...@gmail.com on 10 Dec 2009 at 3:48

GoogleCodeExporter commented 8 years ago
jhjjdjudiuf
iuhfkufkhfg
hjjfihfjjkr
bhdfhfnhfjñ
jktjgtuftju
ggsnwjfjhfj
jjdhtutjirj
hryghfjhhku
ghfggyfyfjh
hgjheufhfjh
ncvmhfhhurj
fbgfbvjghbh

Original comment by Comercia...@gmail.com on 4 Jan 2011 at 4:57