Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-11-15 12:10:59

gng
New member
Registered: 2007-11-15
Posts: 1

How to simply enable and disable the text in the editor

Hello - Newbie question.

Can anyone show how you can just simply disable the text (i.e. make it read only) and enable the text in the text area ? I've tried looking in various guides (e.g. Newbie) but couldn't see anything - it's a pretty basic request so I hope this is possible.

Thanks

Offline

#2 2007-11-16 13:45:34

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: How to simply enable and disable the text in the editor

Im sorry this is not so easily doable as you might think

Offline

#3 2007-11-16 15:17:42

Chuck
Xinha Community Member
Registered: 2005-02-25
Posts: 29

Re: How to simply enable and disable the text in the editor

One way would be to have another copy of the text in a plain div and switch back and forth between the div and xinha to simulate read-only / editing modes a bit like InPlaceEditors do in Scriptaculous.

Be careful though. you need to wait for Xinha to finish loading before hiding it or you won't be able to type in it afterward

Hope this helps

Offline

Board footer

Powered by FluxBB