Pasting text in the editor

4 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 06 Jan 2010 Link to this post

    Hi,

    Pasting the following in the editor in Design mode:

    Is parket te combineren met vloerverwarming? 
     
    Ja, mits het parket hiertoe geschikt is, dan is het te combineren met vloerverwarming zowel als bijverwarming als hoofdverwarming 


    Results in three different browsers in the following piece of HTML.

    FireFox:
    Is parket te combineren met vloerverwarming?<br /> 
    <br /> 
    Ja, mits het parket hiertoe geschikt is, dan is het te combineren met vloerverwarming zowel als bijverwarming als hoofdverwarming 
    IE8:
    <p>Is parket te combineren met vloerverwarming?</p> 
    <p>Ja, mits het parket hiertoe geschikt is, dan is het te combineren met vloerverwarming zowel als bijverwarming als hoofdverwarming</p> 
    Chrome:
    <div>Is parket te combineren met vloerverwarming?</div> 
    <div><br /> 
    </div> 
    <div>Ja, mits het parket hiertoe geschikt is, dan is het te combineren met vloerverwarming zowel als bijverwarming als hoofdverwarming</div> 
    Why is the produced HTML browser dependent? I have tested this with the demo Editors on your website.

    Thanks for your answer.

    Marc


  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 07 Jan 2010 Link to this post

    Hi Marc,

    RadEditor is using editable IFrame as its content area and uses the rich text engine of the browser to handle the content in most cases. The reason for the results that you get is that different browsers insert the pasted content differently. Maintaining the exact same HTML output for all browsers will make the control to work extremely slow.


    Kind regards,
    Dobromir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 29 Jan 2010 Link to this post

    Hi Dobromir,

    Thank you for your answer.
    I know the Telerik components are browser compatible bu which browser does Telerik take to initially build their tools on. Is that IE?
    For the Editor this is kind of important related to the different markup that is generated by different browsers.

    Regards,
    Marc
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 03 Feb 2010 Link to this post

    Hi Marc,

    There is no initial / base browser that we build our controls on - while they are being developed, they are tested and tuned for all major browsers. As for RadEditor, every browser has its own engine for RichText editing and the editor uses that functionality. At present, our main concern is to have XHTML compliant output across all major browsers. We are also working on the Identical output in different browsers but at this point I cannot give you an exact time frame.


    All the best,
    Dobromir
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top