tags:

views:

34

answers:

1

I want to design an editor, but don't want to use tiny mces's tool bar. What I need is, user can apply styles to the selected element or its selected content using my own interface, so that I can handle the styles using jquery. But, none of tiny mce's toolbar will be used. Can I handle styles in such a way ? Will it be stable and cross browser compatible ? What will be the best solution to this. Kindly suggest.

A: 

I think it is possible cause you are able to get the editors selection from outside the editor (which you need to apply styles to). Some prerequisitions are:

  • the styles should be in your custom.css
  • in case you want to trigger actions depending on the editor you will need to write an own plugin
Thariama