Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#6868 closed defect (bug) (fixed)

Author loses image alignment - admin doesn't

Reported by: scvbruce's profile scvbruce Owned by:
Milestone: 2.7 Priority: high
Severity: major Version: 2.5
Component: TinyMCE Keywords:
Focuses: Cc:

Description

My authors are not able to save the alignment they apply to images in posts with the Insert/edit emage icon.

When "admin" edits the picture with the Insert/edit emage icon on the visual editor, the code looks like this:

<strong>Does Microsoft really need Yahoo?<img class="alignright" style="float: right; margin: 4px;" src="http://technology.newsbyte.com/wp-content/uploads/2008/04/dignanperlow.jpg" alt="Dignan and Perlow" width="300" height="172" /></strong>


When an "author" edits the picture with the Insert/edit emage icon on the visual editor, and then saves the picture, the code looks like this, and the alignment goes away:

<strong>Does Microsoft really need Yahoo?<img class="alignright" style="4px;" src="http://technology.newsbyte.com/wp-content/uploads/2008/04/dignanperlow.jpg" alt="Dignan and Perlow" width="300" height="172" /></strong>

It's like an author doesn't have the permission to change that part of the code.

Change History (1)

#1 @azaozz
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This was kses issue, now fixed.

Note: See TracTickets for help on using tickets.