WordPress.org

Make WordPress Core

Opened 9 days ago

Last modified 6 days ago

#42219 new defect (bug)

Content inserted after a gallery (wpview) shows before the gallery

Reported by: bduclos Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: TinyMCE Keywords: reporter-feedback
Focuses: javascript Cc:

Description

Bug appears in Chrome since WordPress 4.7.4 and is still happening in Trunk.
Steps to reproduce:

  • start from a brand new page
  • insert a gallery (or any wpview like video or audio)
  • place the cursor to the right of the gallery
  • insert an image (or video/gallery/audio)

Result: the image isn't inserted after the gallery, it appears at the top of the page.

Change History (5)

#1 @subrataemfluence
6 days ago

  • Keywords reporter-feedback added

Hello,
Welcome to trac and thanks for the ticket. I am not sure if I have understood the exact situation correctly. Are you saying something like this?

start from a brand new page
Create a new page in admin

insert a gallery (or any wpview like video or audio)
Add media from gallery by using Add Media button above the visual editor

place the cursor to the right of the gallery
Place the cursor the right of the added media

insert an image (or video/gallery/audio)
Open Media Gallery by clicking Add Media button and add another image (or another media)

If this is not what you are saying, please let me know what exactly I need to do in order to reproduce the issue. Because above steps did not reproduce anything like this. Also it would be nice if you please explain the phrase insert a gallery

My WordPress version: 4.8.2
Browser: Chrome
OS: Ubuntu 14.04 LTS

#2 @bduclos
6 days ago

Hi,

Yes the steps are exactly what you've described. Here's a Gif: (you can see that the image is inserted before the gallery):

https://i.imgur.com/5OCovHk.gif

WordPress versions tested: 4.7.4, 4.8.2, trunk.
Browser: Chrome
OS tested: Windows 10 and Mac OS Sierra 10

#3 @subrataemfluence
6 days ago

Thank you! I will try on Windows environment soon.

On a side note, do you have any third party plugin active? If yes, can you please try once again by first deactivating all of them? Even better if can try on a clean WordPress installation.

#4 @bduclos
6 days ago

The tests are done on a clean WordPress installation, no third party plugin, with TwentySeventeen theme.

#5 @subrataemfluence
6 days ago

Hmm. Is this OS? I have to try on Windows !

Note: See TracTickets for help on using tickets.