#28048 closed defect (bug) (fixed)
Twenty Fourteen: Align center in editor doesn't work with HTML5 captions implemented
Reported by: | RDall | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
I found this in a theme I was creating thinking it was my own code, but a fresh rebase of trunk on a different build and I found exactly the same issue in twenty fourteen.
How to create the bug.
- Edit post.
- Add Image with caption.
- Add a paragraph of text below to show image float properly.
- Click align left the image floats left, text wraps around right.
- Click align right and the image floats right, text wraps around left.
- Click align centre and the image doesn't move. But if you preview save and preview the front end it will centre the image.
You can also view this screencast. http://cl.ly/3N3d3n40121l
Attachments (2)
Change History (12)
This ticket was mentioned in IRC in #wordpress-dev by RDall. View the logs.
10 years ago
#3
@
10 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
- Resolution invalid deleted
- Status changed from closed to reopened
- Version changed from trunk to 3.9
#4
@
10 years ago
Thanks for confirming this serge I though it was actually just some weird one off.
This ticket was mentioned in IRC in #wordpress-dev by RDall. View the logs.
10 years ago
#7
follow-up:
↓ 10
@
10 years ago
- Component changed from Editor to Bundled Theme
- Keywords commit added; needs-testing removed
- Milestone changed from Future Release to 4.0
- Summary changed from align center in editor doesn't work with HTML5 captions implemented to Twenty Fourteen: Align center in editor doesn't work with HTML5 captions implemented
28048.patch works for me.
There's still some delay mentioned in comment:3, but that would be a separate ticket.
Note: See
TracTickets for help on using
tickets.
I can still reproduce the issue in Chrome in both 3.9 and current trunk. Could not reproduce in Firefox.
I also see a weird delay when changing the alignment in both Chrome and Firefox.
On the screenshot above, "Align right" button is clicked, but "Align center" button is still highlighted, and the selection still stays on the left.
In a few seconds (5 to 10), the selection moves to the right, and the corresponding button gets highlighted.