• Resolved jimf29605

    (@jimf29605)


    I use “visual” view in the editor to help me manually resize multiple images that are displayed in a single row in my blog. Ever since I recently updated to WP 4.3.1, going to this mode seems to strip all of the style parameters (border, padding, etc.) so that the images are displayed right next to each other with no padding. I can handle that, but when I return to “text” view, these style parameters remain stripped and just do not appear, nor does the table structure I set up to display the images. This is an example of a table structure I use:

    ‘<table style=”border: none;”>
    <tbody>
    <td style=”border: none; padding: 0px 16px 0px 0px;”><img src=”https://farm1.staticflickr.com/672/21506732532_eae103c91e_z.jpg&#8221; alt=”Blue flower” width=”321″ height=”428″ /></td>
    <td style=”border: none; padding: 0px;”><img src=”https://farm6.staticflickr.com/5771/21506730792_1c376b918b_z.jpg&#8221; alt=”Blue flower” width=”571″ height=”428″ /></td>
    </tr>
    </tbody>
    </table>’

    and this is what it looks like when I return from “visual” mode to “text” mode:

    ‘<img src=”https://farm1.staticflickr.com/672/21506732532_eae103c91e_z.jpg&#8221; alt=”Blue flower” width=”321″ height=”428″ /><img src=”https://farm6.staticflickr.com/5771/21506730792_1c376b918b_z.jpg&#8221; alt=”Blue flower” width=”571″ height=”428″ />’

    As you can see, all of the table parameters including the style parameters have been stripped.

    Is there a switch or parameter I can set (or unset) to fix this problem? BTW, I use the Dandelion Theme from Theme Forest.

    Thanks,

    Jim Fowler
    Greenville, South Carolina
    https://www.jfowlerphotography.com

Viewing 1 replies (of 1 total)
  • Thread Starter jimf29605

    (@jimf29605)

    OK, I finally figured it out. I was missing a ‘<tr>’ before the ‘<tbody>’ parameter. I should have seen it earlier, but obviously I did not.

    Jim

Viewing 1 replies (of 1 total)
  • The topic ‘Style and Table variables being stripped while in "Visual" view’ is closed to new replies.