Ticket #8731 (closed Bug: expired)

Opened 2 years ago

Last modified 2 years ago

CK Editor Save Button is not working

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

Description (last modified by j.swiderski) (diff)

  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

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

Change History

Changed 2 years ago by sukanya

comment:1 Changed 2 years ago by j.swiderski

  • Description modified (diff)

comment:2 follow-up: ↓ 3 Changed 2 years ago by j.swiderski

  • Status changed from new to pending
  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 2 years ago by sukanya

comment:3 in reply to: ↑ 2 Changed 2 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 2 years ago by j.swiderski

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 2 years ago by j.swiderski

  • Status changed from pending to closed
  • Resolution set to expired
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy