logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Andrew Tetlaw
    • Posted on Tue 6 Jul 2004 07:07 PM

    The 2 platforms use their own proprietry rich text editor applications. The mozilla one is called 'Midas' and the IE one is... umm , no idea.

    Using the editors you pretty much have to put up with the HTML they output, which is different for both platforms. Midas has a 'useCSS' setting which will change from using span elements with inline styles to using old style 'b' and 'i' elements. The IE editor however always uses 'strong' and 'em'.

    This is problematic because I can't edit content in IE and then again using Mozilla (I can't unbold text in Moz that was made bold in IE).

    Using the editors is quite different from simply wrapping selected text in HTML tags and they support a whole bunch of editor functionality too, like undo/redo, ctrl+c / x / v, image resizing, table editing widgets (in Midas) and so on...

    So I guess if you want the editor goodness you have to put up with the HTML provided. You can of course code your own button for 'Bold' (for example) to make it put 'strong' tags in both editors but the user can still type ctrl+b and trigger the standard editor behaviour. This means you'd also have to catch the key combo to prvent default behaviour etc.... it soon turns into a lot of work!

    Most people I've seen just ignore the problem.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: