Bug 12242

Summary: FCKeditor: "Templates" doesn't work when inserting in the cursor position
Product: WebKit Reporter: Frederico Caldeira Knabben <fredck>
Component: DOMAssignee: 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    

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