Opened 10 years ago
Closed 8 years ago
#13315 closed Bug (invalid)
CKEditor object in debug mode doesn't load correctly.
Reported by: | giorgio | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.0 Beta |
Keywords: | IBM | Cc: | IRINAURU@…, giorgio, satya_minnekanti@…, chrisgui@… |
Description
Using the CKEditor in debug mode ( ?x-ckeditor-debug=true ) , when the CKEditor loads, i'm getting errors in the console, regarding some methods missing(e.g. the CKEDITOR.on method).
I used to this simple html page to load the editor :
<!DOCTYPE html> <html> <head>
<title>Source defect CKEditor Sample</title> <meta charset="utf-8"> <script src="../ckeditor.js"></script>
</head> <body>
<p>
<label for="editor1">
Editor 1:</label>
<textarea cols="80" id="editor1" name="editor1" rows="10">
<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>
</textarea> <script>
CKEDITOR.replace( 'editor1' );
</script>
</p>
</body> </html>
Change History (4)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Status: | new → pending |
---|
What do you mean by "debug mode"? There are only the source mode and build mode. Do you mean the source mode? If so, we would need a sample on which this error can be reproduce, because the HTML you pasted is very standard and it works for us.
comment:3 Changed 10 years ago by
I've meant in source mode, sorry for the incomprehension.
I was using the CKEDITOR.on method right after loading the CKEDITOR object using the loader, and apparently the event module wasn't loaded still.
I moved the call of the CKEDITOR.on elsewhere, to give time at the module to be loaded, and it works fine now.
I guess you can close this ticket.
Sorry for the mistake.
comment:4 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Don't pay attention to that parameter that i've mentioned... i've just meant that we're using the ckeditor in debug mode.
Sorry for the inconvenience.