Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media/Image does not insert at cursor in Classic Block #12804

Closed
JessBoctor opened this issue Dec 11, 2018 · 2 comments
Closed

Media/Image does not insert at cursor in Classic Block #12804

JessBoctor opened this issue Dec 11, 2018 · 2 comments
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Media Anything that impacts the experience of managing media Needs Testing Needs further testing to be confirmed. [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@JessBoctor
Copy link

Describe the bug
When trying to add media within the Classic Block, the media is inserted at the top of the text rather than where the cursor is placed

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit/New Post'
  2. Add a 'Classic' block
  3. Enter some text
  4. Place your cursor below or within your text
  5. Click on 'Add media' button from the 'Classic' block toolbar
  6. Select your media item, click 'Insert into post'
  7. Media will be inserted before any text, not where the cursor placement is

Expected behavior
It is expected that the media would be inserted where the cursor was placed.

Screenshots
ce-block-bug-1
ce-block-bug-2

Desktop (please complete the following information):

  • OS: Mac OS 10.11.6
  • Browser: Chrome
  • Version 71.0.3578.80 (Official Build) (64-bit)

Additional context
Tested on:

  • WordPress 5 installed on ServerPress localhost site
  • WordPress Calypso on a WordPress.com site.
@swissspidy swissspidy added [Feature] Media Anything that impacts the experience of managing media Needs Testing Needs further testing to be confirmed. [Block] Classic Affects the Classic Editor Block labels Dec 11, 2018
@annestk
Copy link

annestk commented Dec 12, 2018

Seems like a duplicate of #10509 which will be fixed by #12415 in the next update

@swissspidy swissspidy added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Dec 12, 2018
@swissspidy
Copy link
Member

Thanks for the link, @annestk! I knew I have stumbled upon that issue before 😄

Closing as a duplicate of #10509.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Media Anything that impacts the experience of managing media Needs Testing Needs further testing to be confirmed. [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

3 participants