<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12242</bug_id>
          
          <creation_ts>2007-01-13 02:51:06 -0800</creation_ts>
          <short_desc>FCKeditor: &quot;Templates&quot; doesn&apos;t work when inserting in the cursor position</short_desc>
          <delta_ts>2007-03-08 14:15:24 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.fckeditor.net/nightly/browsers_test.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>13000</dependson>
          <blocked>9915</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35226</commentid>
    <comment_count>0</comment_count>
    <who name="">webkit</who>
    <bug_when>2007-01-13 02:51:06 -0800</bug_when>
    <thetext>By clicking the &quot;Templates&quot; button in the toolbar, the &quot;Content Templates&quot; dialog is shown. When unchecking the &quot;Replace actual contents&quot; checkbox, the template insertion doesn&apos;t work. A JavaScript error is thrown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35245</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-01-13 03:52:55 -0800</bug_when>
    <thetext>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 &quot;Replace actual contents&quot; checkbox.
4. Click one of the three templates.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19934</commentid>
    <comment_count>2</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2007-03-08 14:15:24 -0800</bug_when>
    <thetext>r20066</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>