I have a hard time finding out how to capture and change a font selection. When you select a font, it will be styled over the selected or after-typed text.
What I want to do is capture which font is selected and style it to all texts in the editor.
I have downloaded the 'onchange' plugin but I only can alert an object with the plain text of a selection in it.
So I can't set the selected font to all text or even see which font is selected ...
Anybody got an idea about this?
What I want to do is capture which font is selected and style it to all texts in the editor.
I have downloaded the 'onchange' plugin but I only can alert an object with the plain text of a selection in it.
So I can't set the selected font to all text or even see which font is selected ...
Anybody got an idea about this?