I want to create a button in CkEditor Tool Bar which does a certain set of operations in one go.
So when the user would click this button 1. All text will be selected and font will change to a certain font and size 2. Line height of all text will be set to "1" - exactly how the line height plugin works.
I have created a simple plug in which has a button and which right now does a timestamp insert.
My question is, is it possible to call these kind of operations in my plug in code? Which are basically commands in some other plugins.