Setting Font, FontSize and FontColor

2 posts, 0 answers
  1. rick adams
    rick adams avatar
    5 posts
    Member since:
    Mar 2010

    Posted 28 Sep 2010 Link to this post

    I would like to know if it is possible to have a new line use the currently selected Font, FontSize and Color in the RibbonBarUI. I can position the cursor in the RuchTextBox and set the Font, Size and color and type in text and everything displays fine. However if I position the cursor at the end of some existing text and enter a line break (using the Enter key) the font settings will change to reflect the settings of that text span. Is there a way I can force the RichTextEditor to use the existing settings in the RibbonBarUI?
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 30 Sep 2010 Link to this post

    Hello rick adams,

    Unfortunately, this is a small bug in the current version of the RichTextBox. The first time you hit enter, you split the current paragraph in two and move the caret to the beginning of the second paragraph. If you place the caret at the end of the first paragraph and hit enter again, you will create a third paragraph in between and your settings will be applied to it.
    We will try to make the way it works more intuitive in the near future.

    Kind regards,
    Iva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top