Welcome Guest Search | Active Topics | Sign In | Register

Separating an Editor control from its toolbar Options
Mark Rae
Posted: Thursday, February 24, 2011 10:07:26 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
A client has asked if it's possible to have more than one Editor control on a webform but only one tool bar set. I.e. the first one will have a tool bar set displayed, but the others won't, and the user will be able to modify the text in any of the Editor controls by using the tool bar set of the first one.
eo_support
Posted: Thursday, February 24, 2011 10:33:07 AM
Rank: Administration
Groups: Administration

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

No. That is not a good idea and we will not support that on the control level. The closest you can get is to turn off toolbar on our Editor, then call our editor's client side API to modify the editor's text from your toolbar (or whatever UI elements you implement). That sounds good in theory but in practice you will run into focus issue because the moment user clicks your toolbar/button, the Editor will lose focus. So by the time your toolbar button is clicked you will not know which editor's content to modify because no editor has focus now.

Thanks!
Mark Rae
Posted: Thursday, February 24, 2011 10:51:08 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
I had a feeling that might be the case.

No problem.


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.