1) I would like to designate a font such as “Courier New” for a jqxEditor. How may I do it? (I don’t want to allow the user to choose other fonts either.)
2) When the user pastes text content copied from a web page, how may I force jqxEditor to display the pasted content using the designated font?
Hello Michael Wu,
You can either modify the
fonttool of the editor to have only this font option or you can create a custom tool for styling the text.
Here is an Example that shows both cases and also you can apply style to the text when you are pasting.
Thanks for your kind support. I learn how to display the pasted content in the designed font.
However, I’m still not able to initialize the jqxEditor in the designated font. Actually, I don’t to show the “Font” tool. I would like the jqxEditor uses the designated font directly without user intervention. Can it be done by setting some properties of the jqxEditor?
That’s what I am looking for.
One more question – How to designate a font size for the jqxEditor initially?
In addition to the designated font, I also need to designate the font size?
You must be logged in to reply to this topic.