Which version of Wicket/WicketStuff are you using?
> Andrea, thank you for a good pointer. The thing I am struggling with is
> adding class="collapse" to the xxx_wrapper_component which seems to be
> created by TinyMCE JavaScript after my Wicket code can add
> AttributeModifier or even invoke $('#" + getAjaxRegionMarkupId() +
> "').css('class', 'collapse');".
>
> It seems like the class gets set by right after that is erased by TinyMCE.
>
> Any ideas how I can run my code that sets CSS class of mce wrapper div
> after tinyMce.init()?
>
> Thanks,
>
> Alec
>
>
> On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene <[email protected]>wrote:
>
>> Hi,
>>
>> you can have a look at InPlaceEditComponent which is used in the example
>> page InlineTinyMCEPage (see code at
>>
>> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java
>> )
>>> Hello,
>>>
>>> I have a bootstrap toggle button which the user can use to open and close
>>> TinyMCE editor. When the page is rendered I would like the TinyMCE editor
>>> to be closed and when user clicks on the toggle button - open.
>>>
>>> Note that twitter bootstrap button needs to know
>>> TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
>>> toggle-target='xxx' attribute to toggle it.
>>>
>>> Is there a way to configure TinyMceBehavior to render hidden by default?
>>> Any other ideas on how I can get this solved?
>>>
>>> Thanks,
>>>
>>> Alec
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
