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

Pasting text in the editor

3 Answers 52 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 06 Jan 2010, 02:18 PM
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


3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 07 Jan 2010, 09:19 AM
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.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 29 Jan 2010, 01:14 PM
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
0
Dobromir
Telerik team
answered on 03 Feb 2010, 01:00 PM
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.
Tags
Editor
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dobromir
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or