Bug 12242
| Summary: | FCKeditor: "Templates" doesn't work when inserting in the cursor position | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | webkit |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | PC | ||
| OS: | OS X 10.4 | ||
| URL: | http://www.fckeditor.net/nightly/browsers_test.html | ||
| Bug Depends on: | 13000 | ||
| Bug Blocks: | 9915 | ||
webkit
By clicking the "Templates" button in the toolbar, the "Content Templates" dialog is shown. When unchecking the "Replace actual contents" checkbox, the template insertion doesn't work. A JavaScript error is thrown.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Confirmed with locally-build debug build of WebKit r18824. JavaScript console error:
NOT_SUPPORTED_ERR: DOM Exception 9
http://www.fckeditor.net/nightly/fckeditor/editor/js/fckeditorcode_gecko.js Line: 22
Steps to reproduce:
1. Open URL: http://www.fckeditor.net/nightly/browsers_test.html
2. Click Template icon.
3. Uncheck "Replace actual contents" checkbox.
4. Click one of the three templates.
Justin Garcia
r20066