Make WordPress Core

Opened 11 years ago

Last modified 7 years ago

#36159 new defect (bug)

Inserting Image on iOS Doesn't Respect Cursor Position

Reported by: mrjarbenne Owned by:
Priority: normal Milestone: Future Release
Component: Editor Version: 4.2
Severity: normal Keywords: needs-patch
Cc: Focuses: ui

Description

When using Press This as a launch pad to edit a longer blog post, additional images added are inserted at the top of the post, rather than in the space in which the cursor has been placed.

Here's a quick video displaying the issue. ​http://www.screencast.com/t/NtdCWRoJsWI

Change History (4)

#1 @kraftbj
10 years ago

  • Keywords needs-patch good-first-bug added
  • Milestone Awaiting Review → Future Release
  • Version 4.4.2 → 4.2

Thanks @mrjarbenne for the report and my apologies for not acknowledging it until now. I couldn't duplicate on the desktop, so it is likely isolated to iOS as you stated.

#2 @ivantedja
10 years ago

@kraftbj from what I see, it is because @mrjarbenne phone's virtual keyboard is closed which cause cursor is lost
If you tried to do the same thing without closing the virtual keyboard (by trying to scroll the page to the bottom) then it works fine
The same behaviour happened on normal post so it is not specifically related with "Press This"
So I don't think it is a bug
Further improvement might be to implement a feature request to memorize last cursor position on mobile?

#3 @adamsilverstein
9 years ago

  • Keywords good-first-bug removed

#4 @kraftbj
9 years ago

  • Component Press This → Editor
  • Summary Inserting Image on iOS Doesn't Respect Cursor Position in Press This editor → Inserting Image on iOS Doesn't Respect Cursor Position

Based on https://core.trac.wordpress.org/ticket/36159#comment:2 and Press This moving to a separate plugin, I'm moving this into the Editor component.

Note: See TracTickets for help on using tickets.