RESOLVED DUPLICATE of bug 13490 12321
Bold, italic text should be optionally marked up as <b>, <strong>, etc.
https://bugs.webkit.org/show_bug.cgi?id=12321
Summary Bold, italic text should be optionally marked up as <b>, <strong>, etc.
Dan Wood
Reported 2007-01-18 12:43:52 PST
To reproduce: 0. Launch Blot_editableDiv_showSource, my modified version of "Blot" available from <http://dan.karelia.com/webkit/Blot_editableDiv_showSource.zip> with DYLD_FRAMEWORK_PATH pointing to TOT. (I'm using r18941) 1. Click on the top panel 2. Type some text 3. Select some of it 4. Hit command-B. 5. Likewise, make something italic Result: The bolded text is surrounded in a verbose, heavy span, e.g.: <span class="Apple-style-span" style="font-weight: bold;">webkats</span> There needs to be a programable ability to specify that bold/italic text should be marked up as <b>/<i> or <strong>/<em> instead of the font-weight style span Note also that the internal apple class should not be there.
Attachments
Mark Rowe (bdash)
Comment 1 2008-01-12 19:10:25 PST
Justin Garcia
Comment 2 2008-02-01 12:58:25 PST
This will be address by: <https://bugs.webkit.org/show_bug.cgi?id=13490> Implement execCommand("styleWithCSS", ...) *** This bug has been marked as a duplicate of 13490 ***
Note You need to log in before you can comment on or make changes to this bug.