We are looking for an editor which can apply CSS styles to text and produce consistent visual and html results on all major browsers.
Trying a simple test, I get different results. Can you explain?
Here's the test:
We go to the your demo: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
1. click in the main paragraph
2. ctrl-a to select all
3. hit delete
4. type hello
5. double click hello to select it
6. apply css class ‘red text’ from the drop-down
Result:
IE: text turns red, and the html reads: <p class="redText">hello</p>
Chrome: text stays black, html: <span>hello</span>
Safari: text turns red, html: <span class="redText">hello</span>
Firefox: text turns red, html: <span class="redText">hello</span><br />
Is there something that we are missing or will different browsers always produce unpredictable html?
Thanks!
Jc
Trying a simple test, I get different results. Can you explain?
Here's the test:
We go to the your demo: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
1. click in the main paragraph
2. ctrl-a to select all
3. hit delete
4. type hello
5. double click hello to select it
6. apply css class ‘red text’ from the drop-down
Result:
IE: text turns red, and the html reads: <p class="redText">hello</p>
Chrome: text stays black, html: <span>hello</span>
Safari: text turns red, html: <span class="redText">hello</span>
Firefox: text turns red, html: <span class="redText">hello</span><br />
Is there something that we are missing or will different browsers always produce unpredictable html?
Thanks!
Jc