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 )
- 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.
Attachments (2)
Change History (7)
Changed 13 years ago by
Attachment: | element.js added |
---|
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 13 years ago by
Status: | new → pending |
---|
Changed 13 years ago by
Attachment: | ScreenShot.docx added |
---|
comment:3 Changed 13 years ago by
Replying to j.swiderski:
- Which IE are you talking about?
- Which Operating system are you talking about
- 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
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 .
- I have noticed that your CKEditor is placed in dialog. Is it plain modal dialog or perhaps jQuery dialog?
-
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.
- 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
Resolution: | → expired |
---|---|
Status: | pending → closed |
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?