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

FontSize with decimal point

1 Answer 155 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
Ing. Jesus Manuel
Top achievements
Rank 1
Ing. Jesus Manuel asked on 09 Feb 2017, 06:28 PM

 Hi, we use the rich text editor with the ribbon bar that has all the options to edit the text, we can select the font size from the drop down, but this only have integer values, we need it to be able to type the size we desire (in this case with decimals), well at least we need a .5 (8.5, 9.5, 10.5, 11.5 and 12.5)

 

Is there a way to achieve this? Please

 

I'm using 2017 Q1

 

Thank you all.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 13 Feb 2017, 04:03 PM
Hello Jesus,

Thank you for writing.

You can accomplish this task by creating a custom ribbon bar and override the logic responsible for adding the font sizes. I am attaching a sample project demonstrating this approach.

Please also bear in mind that any sizes used in the loaded document will also be populated in the drop-down.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
RichTextEditor
Asked by
Ing. Jesus Manuel
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or