Opened 13 years ago

Last modified 13 years ago

#8731 closed Bug

CK Editor Save Button is not working — at Version 1

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.

Change History (2)

Changed 13 years ago by sukanya

Attachment: element.js added

comment:1 Changed 13 years ago by Jakub Ś

Description: modified (diff)
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