This is a migrated thread and some comments may be shown as answers.

[Solved] How to configure default font styles for the text in editor?

1 Answer 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ramakrishna
Top achievements
Rank 1
Ramakrishna asked on 02 Jan 2012, 12:05 PM
Can anyone please provide me with inputs on how to configure Telerik editor default fonts externally, without making changes to Telerik Editor files.

As of now, I am setting font size through telerik.editor.min.js file. Below placed is the modified code used in this file to acheive default font size.

At the code block: , .cat(".prettyprint{font-family:inherit; }")

Modified as: .cat(".prettyprint{font-family:inherit;font-size:25px;}")


Thank You.


1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jan 2012, 12:54 PM
Hello,

 You can define any CSS rules used in your editor in an external CSS file. This example shows how.

All the best,
Atanas Korchev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Editor
Asked by
Ramakrishna
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or