jQuery UI Widgets › Forums › Editors › Editor › Custom tool, apply action on selection only
This topic contains 2 replies, has 2 voices, and was last updated by oxspray 1 year, 1 month ago.
Thanks for your great widgets !
I didn’t found the way to apply my custom tool action (convert to small caps) on selected text only.
So in the action function, how to get the selection, apply the custom css, and replace them?
Here is an Example of how you can achieve it.
You must be logged in to reply to this topic.