

JavaScript
This group is focused on customization specifically using JavaScript. If you have cool tools and want... View more
Javascript Format Painter
-
Javascript Format Painter
Curious if anyone has tried (or if it is even possible) to create a javascript function for format painter. I would like to create a format painter button that is specific to a certain text style and always active. I frequently find myself using the format painter tool but inevitably have to create a text box, click format painter (or keyboard shortcut), click the text I want to format, then delete the markup I created just to get the formatting. I know that I could also create a toolset with this text style and do it that way. I’m just wondering if I could “lock” a certain text style to a format painter button using javascript.
In my quick review of the script reference guide I didn’t see anything, but I am a novice when it comes to javascript.
Log in to reply.