[wp-trac] [WordPress Trac] #38096: Problem with td background on Visual mode
WordPress Trac
noreply at wordpress.org
Mon Sep 19 15:34:48 UTC 2016
#38096: Problem with td background on Visual mode
--------------------------+----------------------
Reporter: ruicruzpt | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version: 4.6.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by Clorith):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi there,
This is because use of `background` as an attribute has been deprecated in
HTML and as such the editor filters it out to avoid invalid markup.
You should be adding the background part to your `style` section as such:
{{{
<td style="width: 506px; background: url('/image.jpg');">
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38096#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list