Copy/Paste causes line breaks to double in Chrome

2 posts, 0 answers
  1. Stuart
    Stuart avatar
    6 posts
    Member since:
    May 2012

    Posted 23 Jul 2012 Link to this post

    Similar to this thread which has been fixed, my problem appears in Chrome when the content area style is set in OnClientLoad.

    Open notepad and create a document as follows

    Line 1
    Line 2

    Line 4

    Set the font programatically within OnClientLoad (we don't want to set it in the .css as we would like the font to be customizable per-user).

    function OnClientLoad(editor) {
        var style = editor.get_contentArea().style;
        style.fontFamily = "Tahoma";

    Paste the text into the editor and the line breaks are doubled.
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 25 Jul 2012 Link to this post

    Hi Stuart,

    Thank you for bringing this problem to our attention. I have logged it into our database and we will do our best to have it fixed for one of the upcoming releases.

    As a small token of gratitude I have updated your Telerik points.

    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top