Bug 12242 - FCKeditor: "Templates" doesn't work when inserting in the cursor position
Summary: FCKeditor: "Templates" doesn't work when inserting in the cursor position
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: PC OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.fckeditor.net/nightly/brow...
Keywords:
Depends on: 13000
Blocks: 9915
  Show dependency treegraph
 
Reported: 2007-01-13 02:51 PST by Frederico Caldeira Knabben
Modified: 2007-03-08 14:15 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederico Caldeira Knabben 2007-01-13 02:51:06 PST
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.
Comment 1 David Kilzer (:ddkilzer) 2007-01-13 03:52:55 PST
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.

Comment 2 Justin Garcia 2007-03-08 14:15:24 PST
r20066