Ticket #3777: 3777.patch

File 3777.patch, 1.1 KB (added by Garry Yao, 15 years ago)
  • _samples/enterkey.html

     
    1515{
    1616        // If we already have an editor, let's destroy it first.
    1717        if ( editor )
    18                 editor.destroy();
     18                editor.destroy( true );
    1919
    2020        // Create the editor again, with the appropriate settings.
    2121        editor = CKEDITOR.replace( 'editor1',
     
    5757                        </select>
    5858                </div>
    5959                <br style="clear: both" />
     60               
    6061                <form action="sample_posteddata.php" method="post">
    6162                        <p>
    6263                                <br />
    63                                 <textarea id="editor1" name="editor1" rows="10" cols="80">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
     64                                <textarea id="editor1" name="editor1" rows="10" cols="80">This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;CKEditor&lt;/a&gt;.</textarea>
    6465                        </p>
    6566                        <p>
    6667                                <input type="submit" value="Submit" />
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy