Opened 14 years ago
Last modified 14 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 )
- Enter Text and select the Image Link.
- Enter the url of Image Location.
- Click ok button .
- 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 14 years ago by
| Attachment: | element.js added |
|---|
comment:1 Changed 14 years ago by
| Description: | modified (diff) |
|---|
