Opened 16 years ago
Closed 13 years ago
#5339 closed Bug (expired)
In fullpage mode, document without "title" tag breaks CKEditor
| Reported by: | Ben Houston | Owned by: | Minh Nguyen |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.2 |
| Keywords: | HasPatch | Cc: |
Description
To reproduce:
- create an editor with the "fullpage" option turned on.
- start editing content in WYSIWYG mode.
- switch to source mode and adjust the content so that there is no title tag in the head.
- switch back to WYSIWYG mode, note that the toolbar buttons don't come back to being usable.
Patch:
Patch for plugins/wysiwygarea/plugin.js (at least, here's the diff that fixes it for us):
741,744c741,742
< if (title != null) {
< title.setAttribute( '_cke_title', editor.document.$.title );
< editor.document.$.title = frameLabel;
< }
---
> title.setAttribute( '_cke_title', editor.document.$.title );
> editor.document.$.title = frameLabel;
Attachments (1)
Change History (7)
comment:1 Changed 16 years ago by
| Keywords: | HasPatch added; fullpage removed |
|---|
Changed 16 years ago by
| Attachment: | 5339.patch added |
|---|
comment:2 Changed 16 years ago by
| Keywords: | Review? added |
|---|---|
| Owner: | set to Minh Nguyen |
| Status: | new → assigned |
comment:3 Changed 16 years ago by
comment:4 Changed 15 years ago by
| Keywords: | HasPatch added; HasPatch? removed |
|---|---|
| Status: | review → assigned |

Related #5338 ?