Opened 5 years ago

Closed 5 years ago

#12125 closed Bug (invalid)

Center an image with link break link

Reported by: Johann Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I got strange bug when i try to center an image with link. The link tag is removed from html

  • I use Enhanced image plugin (image2) instead of original plugin
  • Justify plugin

I think CKEditor need to be compiled with image2 plugin to be reproductible !!

Step to reproduce,

  • open source editor and put this html example

<p>test</p> <p><a href="http://www.google.fr"><img alt="cat" width="360" src="http://scienceblogs.com/gregladen/files/2012/12/Beautifull-cat-cats-14749885-1600-1200.jpg" /></a></p>

  • set to wysiwyg area, and center image using "center" button
  • back to source area

html is now

<p>test</p>

<p>&nbsp;</p>

<p style="text-align:center"><img alt="cat" src="http://scienceblogs.com/gregladen/files/2012/12/Beautifull-cat-cats-14749885-1600-1200.jpg" width="360" /></p>

<p>&nbsp;</p>

a tag is removed !!!

Change History (1)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.3.5

This issue was fixed in CKEditor 4.4.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy