1 | <!DOCTYPE html> |
---|
2 | <!-- |
---|
3 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. |
---|
4 | For licensing, see LICENSE.md or http://ckeditor.com/license |
---|
5 | --> |
---|
6 | <html> |
---|
7 | <head> |
---|
8 | <title>#10912</title> |
---|
9 | <meta charset="utf-8"> |
---|
10 | <script src="../ckeditor.js"></script> |
---|
11 | <link href="sample.css" rel="stylesheet"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <h1 class="samples"> |
---|
15 | #10912 |
---|
16 | </h1> |
---|
17 | <form action="sample_posteddata.php" method="post"> |
---|
18 | <textarea cols="80" id="editor1" name="editor1" rows="10"> |
---|
19 | |
---|
20 | <p>Foo <a href="http://ckeditor.com">bar</a>.</p> |
---|
21 | <p contenteditable="false">Foo <a href="http://ckeditor.com">bar</a>.</p> |
---|
22 | <p contenteditable="false">Foo <a href="http://ckeditor.com"><img src="assets/sample.jpg" alt=""></a>.</p> |
---|
23 | <p>Foo <a href="http://ckeditor.com">bar</a>.</p> |
---|
24 | |
---|
25 | </textarea> |
---|
26 | <script> |
---|
27 | |
---|
28 | CKEDITOR.replace( 'editor1', { |
---|
29 | allowedContent: true, |
---|
30 | height: 400 |
---|
31 | } ); |
---|
32 | |
---|
33 | </script> |
---|
34 | </form> |
---|
35 | </body> |
---|
36 | </html> |
---|