mlapl1
Posts: 66
|
| Posted: 05/22/2008, 7:28 PM |
|
Hello
I want to have a textarea which displays HTML correctly but which does not allow editing of content.
In a previous message to the forum, I was told that it was not possible to configure a textarea to display HTML correctly and that I should use FCKeditor to replace the standard textarea. I have configured FCKeditor to work with the forms I generate. However, the toolbar appears at the top of the textarea.
I have worked out how to collapse the toolbar but have not yet figured out how to make it disappear completely (which is what would give me the kind of textarea I am looking for).
I would appreciate some help. Many thanks.
Andrew
|
 |
 |
rho
Posts: 85
|
| Posted: 05/22/2008, 11:18 PM |
|
Have you tried:
http://dev.fckeditor.net/ticket/930
Cheers, Rob.
|
 |
 |
mlapl1
Posts: 66
|
| Posted: 05/23/2008, 4:42 AM |
|
Thanks a lot- I will look - ANdrew
|
 |
 |
marcwolf
Posts: 361
|
| Posted: 05/25/2008, 7:14 PM |
|
Hi.
I had a different problem but it may help you with yours.
I wanted to display HTML from a DB field however allow the editing of it using FCKEditor. I also wanted FCK to be a popup to reduce screen clutter
What I did was this.
I had a label that I displayed the HTML from the DB in. I also has a hidden field with the same information.
When a button was pressed (all Javascript here) I would take the contents of the hidden field and pass it to the popup where FCK was running. This allowed the user to chante the text.
When FCK was closed the text was passed back to the parent window and placed into the hidden field. A copy of tis was also placed into the DIV so it was visible.
When the submit was done it was the hidden field that was saved back into the DB..
Very simple and there was no issues re making controld read-only or locked. Plue you were always assured that the formatting of the HTML would work ok.
Take Care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
|