1 | <!-- |
---|
2 | Copyright © 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
---|
3 | --> |
---|
4 | <!DOCTYPE html> |
---|
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
6 | <head> |
---|
7 | <title>HTML Editor</title> |
---|
8 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
---|
9 | <script type="text/javascript" src="ckeditor.js"></script> |
---|
10 | <base href="" /> |
---|
11 | </head> |
---|
12 | <body> |
---|
13 | <textarea cols="80" id="Textarea1" name="editor1" rows="10"></textarea> |
---|
14 | <script type="text/javascript"> |
---|
15 | CKEDITOR.timestamp = (new Date()).valueOf(); |
---|
16 | _editor = CKEDITOR.replace('editor1', |
---|
17 | { |
---|
18 | fullPage: true, |
---|
19 | language: 'en', |
---|
20 | defaultLanguage: 'en', |
---|
21 | uiColor: '#A1CFF3', |
---|
22 | resize_enabled: false, |
---|
23 | pasteFromWordRemoveFontStyles: false, |
---|
24 | pasteFromWordRemoveStyles: false, |
---|
25 | allowedContent: true |
---|
26 | }); |
---|
27 | |
---|
28 | CKEDITOR.on('instanceReady', function (ev) { |
---|
29 | _editor.execCommand('maximize'); |
---|
30 | }); |
---|
31 | |
---|
32 | </script> |
---|
33 | </body> |
---|
34 | </html> |
---|