Opened 8 years ago

Closed 8 years ago

#7756 closed Bug (invalid)

Linked image lost position

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

Description

Set path to an existing image in attached file. Open file in CKeditor, doubleclick image and set a link. On OK image lost the place and is inserted as last element. This seems to be happens in fullPage mode and when image is alone in a block element, but it's not fully analysed.

Attachments (1)

test.htm (1.3 KB) - added by datalink 8 years ago.
testfile for fullPage mode

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by datalink

Attachment: test.htm added

testfile for fullPage mode

comment:1 Changed 8 years ago by Jakub Ś

Status: newpending

I have done it exactly as you described (in every browser) and image always stayed on its place. the code I have used:

<p>
<a href="http://google.com"><img alt="" src="http://192.168.1.103:8080/b.jpg" /></a></p>
<p>

Have I done something wrong? Which browser and OS does this issue concern?

comment:2 Changed 8 years ago by datalink

Oh yeah, I made some tests to find the problem and it's very special. In _samples/fullpage.html I set

CKEDITOR.on('instanceReady', function( evt )
{
       var editor = evt.editor;
       editor.execCommand( 'maximize' );
       editor.addCommand( 'maximize',
       {
           exec : function( editor ) {},
           startDisabled : true
      });
});

for auto maximize on load. It happens in this case.

Version 0, edited 8 years ago by datalink (next)

comment:3 Changed 8 years ago by datalink

I think this ticket can be closed. I've setted startupFocus=true as global, because it's needed on another side with multible editors. But one maximized editor don't need it, I think.

comment:4 Changed 8 years ago by Frederico Caldeira Knabben

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