4 Answers, 1 is accepted
Hi Nikita,
Please check this Dojo example that demonstrates how we can implement the desired functionality using the exec method.
Another approach that could be used is discussed in this How could I ensure the default font size? thread. Using the same as the demonstrated approach, we can set font and color for the text inside the Editor.
I hope the provided information resolves the issue in the application you are working on.
Regards,
Petar
Progress Telerik

Hi Petar, thank you for your reply. That's not quite what I'm looking for. exec method inserts a span element with font and size applied to the content, meaning it becomes part of the content. I want to keep font and size (inherited) as it is selected in the picker tools. I just want it to show up in the editor with a different font, color and size by default - in my case its Roboto font, with gray color. Looks like the default editor style is black color with Verdana font and 12px size. I see these styles are defined in the header of the editor content document inside the iframe.
hope this makes sense.

Hi Nikita,
Thank you for the clarification on the functionality you wanted to achieve. I am happy to hear that you've managed to resolve the case.
The solution you've mentioned is a valid one. Thank you for sharing it with the community!
Regards,
Petar
Progress Telerik