Ticket #14517: index.html

File index.html, 701 bytes (added by andysd, 5 years ago)

index.html

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    </head>
9    <body>
10        <form>
11            <textarea name="editor1" id="editor1" rows="10" cols="80">
12                This is my textarea to be replaced with CKEditor.
13            </textarea>
14            <script>
15                // Replace the <textarea id="editor1"> with a CKEditor
16                // instance, using default configuration.
17                CKEDITOR.replace( 'editor1' );
18            </script>
19        </form>
20    </body>
21</html>
22
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy