Make WordPress Core

Opened 9 years ago

Closed 5 years ago

#31538 closed defect (bug) (worksforme)

Impossible to place cursor after a left or right aligned image

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: TinyMCE Keywords: needs-patch
Focuses: javascript Cc:


Place the following content into a post and then try to insert some text after the image.

Hello world.

<img src="" class="alignleft" />

Placing the cursor after the image is impossible. You can only do so by moving the cursor into position using the arrow keys, and when you do the cursor isn't visible until you start typing.

Tested in Chrome 41 and Firefox 35 on OS X.

Tested back to 3.8. May occur in earlier versions.

Change History (4)

#1 @iseulde
9 years ago

  • Component changed from Editor to TinyMCE

#2 @iseulde
9 years ago

Happens too in the TinyMCE demo.

#3 @iseulde
9 years ago

  • Focuses javascript added
  • Milestone changed from Awaiting Review to Future Release
  • Version 3.8 deleted

This is a browser bug. We'll have to make sure that there is an empty P after the image when we insert it and when switching from text to visual.

#4 @azaozz
5 years ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from new to closed

As @iseulde points out this was a browser bug in Chromium based browsers that seems to have been fixed since.

Note: See TracTickets for help on using tickets.