Ticket #14518: index.html

File index.html, 766 bytes (added by andysd, 8 years ago)

index.html (run this, adjusting paths to scripts)

Line 
1<!DOCTYPE html>
2<html>
3    <head>
4        <meta charset="utf-8">
5        <title>A Simple Page with CKEditor</title>
6        <!-- Make sure the path to CKEditor is correct. -->
7        <script src="bower_components/ckeditor/ckeditor.js"></script>
8                <script data-main="app" src="bower_components/requirejs/require.js"></script>
9    </head>
10    <body>
11        <form>
12            <textarea name="editor1" id="editor1" rows="10" cols="80">
13                Click the 'X' icon in the toolbar.
14            </textarea>
15            <script>
16                // Replace the <textarea id="editor1"> with a CKEditor
17                // instance, using default configuration.
18                CKEDITOR.replace( 'editor1' );
19            </script>
20        </form>
21    </body>
22</html>
23
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy