Welcome Guest Search | Active Topics | Sign In | Register

TinyMCE inside an EODialog Options
Philipp Jenni
Posted: Friday, January 2, 2015 8:51:20 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

I use TinyMCE inside of an EODialog. In Chrome I have the following problem.

EODialog moves its content to an another position in DOM. When I initialze TinyMCE it is possible that
the base textarea is moved during the tinyMCE initizialisation, so that the init will fail.

Does a javascript event exist, when all dialogs are completly initialized (and the content is completly moved to the final destination), so that I can initialze TinyMCE after that?

Kind regards.
Philipp
eo_support
Posted: Thursday, January 8, 2015 11:29:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

There is no event that are directly called after the dialog is shown and positioned. However you can handle ClientSideOnInitDialog and use setTimeout function inside the dialog to delay such action. Make sure you turn off the dialog's expand effect when you do so since the amount of time the dialog uses to play expand effect can not be controlled precisely.

Thanks!
Philipp Jenni
Posted: Monday, January 12, 2015 4:27:49 PM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
The ClientSideOnInitDialog works but its called each time the dialog is opened. Is there an event if the control is initialized on the client?
eo_support
Posted: Monday, January 12, 2015 7:51:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

No. ClientSideOnInitDialog is the closest you can get.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.