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.
<rdar://problem/5685602>
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 ***