I resolved it with adding additional property 

tinyMCESettings.addCustomSetting("mode : textareas");  

it works but new problem appeared   the readonly text area displays html tag 
I will attach images of  textarea in read-only and editable

please  tell me how to resolve this

tinymce settings for readonly 
                TinyMCESettings tinyMCESettings=  new 
                tinyMCESettings.addCustomSetting("readonly : true");
                tinyMCESettings.addCustomSetting("mode : textareas");

and generated html code 
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
        mode : "exact",
        elements : "tinymcecomments65",
        language : "en",
        theme : "advanced",
        readonly : true,
        mode : textareas });


i dont know if i can control   property mode ,by default tinymcesetting puts 
value exact and if i dont put mode textareas i will get a editable textarea.

fachhoch wrote:
> I am trying to make   teaxarea  with a tinymce behavior readonly   below
> is
> the code for that , but this is not working , please help me make this
> readonly.
> tinyMCESettings.addCustomSetting("readonly : true");

View this message in context: 
Sent from the Wicket - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to