Opened 13 years ago

Closed 13 years ago

#8731 closed Bug (expired)

CK Editor Save Button is not working

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

Description (last modified by Jakub Ś)

  1. Enter Text and select the Image Link.
  2. Enter the url of Image Location.
  3. Click ok button .
  4. Save the image.

But Image was not save in IE (element.js)

getOuterHtml : function()
		{
			
			if ( this.$.outerHTML)
			{

// IE includes the <?xml:namespace> tag in the outerHTML of
				// namespaced element. So, we must strip it here. (#3341)
		return this.$.outerHTML.replace( /<\?[^>]*>/, '' );
			}

	var tmpDiv = this.$.ownerDocument.createElement( 'div' );
			tmpDiv.appendChild( this.$.cloneNode( true ) );
			return tmpDiv.innerHTML;
		},

If we click save button first we are getting the outerHTML value but its calling the same again by the time its getting error is of this "this.$.outerHTML" value is null not an object

But if we click save button two times then only its saved the image.

Attachments (2)

element.js (49.3 KB) - added by sukanya 13 years ago.
ScreenShot.docx (1.4 MB) - added by sukanya 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by sukanya

Attachment: element.js added

comment:1 Changed 13 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 13 years ago by Jakub Ś

Status: newpending
  1. Which IE are you talking about?
  2. Which Operating system are you talking about
  3. Any chance for a reduced test case file showing the problem in code?

This is the first time I hear that save button is not working. Could you please describe this case im more detail? What method of saving are you using?

Changed 13 years ago by sukanya

Attachment: ScreenShot.docx added

comment:3 in reply to:  2 Changed 13 years ago by sukanya

Replying to j.swiderski:

  1. Which IE are you talking about?
  2. Which Operating system are you talking about
  3. Any chance for a reduced test case file showing the problem in code?

This is the first time I hear that save button is not working. Could you please describe this case im more detail? What method of saving are you using?

IE is 8.0 and 9.0

File Name is "CKEditor.js"

getouterHTML Method

and please find ScreenShot Document.

comment:4 Changed 13 years ago by Jakub Ś

You have told me that this occurs when you tru to save your data for the second time. I have tried your scenario with Ajax sample where CKEditor instance is being removed and created (saving simulation) but no error occurred .

  1. I have noticed that your CKEditor is placed in dialog. Is it plain modal dialog or perhaps jQuery dialog?
  1. Any chance for a reduced test case file showing the problem in code?

Instead of me guessing in what way CKEditor was implemented on your website, would you be so kind and provide a reduced testcase file showing the problem? This could save us both some time.

  1. Is is possible to reproduce this without your application logic. Notice that in point two I'm asking for sample that uses only CKEditor and eliminates the possibility that your webapp might be breaking something.

comment:5 Changed 13 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy