Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#28357 closed defect (bug) (duplicate)

Images (with each their own links) placed next to eachother mingle the href after 'publish'

Reported by: magdigit's profile magdigit Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: TinyMCE Keywords:
Focuses: Cc:

Description

Since the update of 3.9 and higher: the href, attached to images, gets clutched when these images are placed next to eachother

See http://www.booxalive.nl

Whenever the order of images is altered, after hitting the publish-button, the html-editor mingles the href's of each image.
I never had problems with this href-setting in earlier versions of WP.
This really seems a bug to me.

For now I managed to got the hrefs right, immediately in the html-editor (after many try-outs, and after changing whole codes <a>...</a> <p>...</p>).

For it is in this editor that the problems rise: when one puts in the WYSIWYG-editor the href in the link-window, then - after hitting the publish button - the html-editor just mixes up these hrefs, changing codes like <a> and </a> etc (in which the href's are embedded) according its own free will.

Change History (6)

#1 @SergeyBiryukov
10 years ago

  • Component changed from General to TinyMCE

Related: #28272

#2 follow-up: @iseulde
10 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This is only a problem when you drag and drop images in the editor. #28272 is caused by the same thing.

#3 in reply to: ↑ 2 @magdigit
10 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Replying to avryl:

This is only a problem when you drag and drop images in the editor. #28272 is caused by the same thing.

To me - as a non-developer - this is not 'only'.
Why was it no problem BEFORE WPversion 3.9?

Now it's quite complicated to adjust the clutched codes in de html-editor.
Why is de drag-drop method in de wysiwyg-editor deleted in 3.9 and higher?

#4 follow-up: @iseulde
10 years ago

I'm not marking this as a duplicate because it's *only* a problem when you drag and drop, but because there's no need to have duplicate tickets. Fixing #28272 (i.e. dragging the link with the image, instead of leaving the link where it is) will also fix this issue.

#5 in reply to: ↑ 4 @magdigit
10 years ago

Replying to avryl:

I'm not marking this as a duplicate because it's *only* a problem when you drag and drop, but because there's no need to have duplicate tickets. Fixing #28272 (i.e. dragging the link with the image, instead of leaving the link where it is) will also fix this issue.

*ashamed* Thnx for the explanation! All my best from sunny Amsterdam.

#6 @azaozz
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from reopened to closed

Duplicate of #28272.

Note: See TracTickets for help on using tickets.