Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31255, comment 11


Ignore:
Timestamp:
03/24/2015 06:01:36 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31255, comment 11

    initial v1  
    11Replying to [comment:10 iseulde]:
    22
    3 Hmm, I think that happens sometimes on a "plain" contenteditable div too, seen in Chrome. Depends on the differences in styles between the place the text is copied from and the contenteditable. Chrome certainly converts `<b>` to <span style="font-weight: bold;">` in some cases, think it can convert it the other way round too.
     3Hmm, I think that happens sometimes in a "plain" contenteditable div too, seen in Chrome. Depends on the differences in styles between the place the text is copied from and the contenteditable. Chrome certainly converts `<b>` to `<span style="font-weight: bold;">` in some cases, think it can convert it the other way round too.
    44
    55Testing a bit more, this seems prevented in TinyMCE as the pasted HTML is cleaned before inserting it in the editor.