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.
|
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!
|
Rank: Advanced Member Groups: Member
Joined: 11/13/2008 Posts: 43
|
I had a feeling that might be the case.
No problem.
|