1 | <!DOCTYPE html> |
---|
2 | <!-- |
---|
3 | Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. |
---|
4 | For licensing, see LICENSE.md or http://ckeditor.com/license |
---|
5 | --> |
---|
6 | <html> |
---|
7 | <head> |
---|
8 | <meta charset="utf-8"> |
---|
9 | <title>#9205, #8216, #7805</title> |
---|
10 | <script src="../ckeditor.js"></script> |
---|
11 | <link href="sample.css" rel="stylesheet"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <h1 class="samples">#9205, #8216, #7805</h1> |
---|
15 | <form action="sample_posteddata.php" method="post"> |
---|
16 | <h1>#9250</h1> |
---|
17 | <textarea cols="80" id="editor1" name="editor1" rows="10"> |
---|
18 | <p>A'B<!-- Comment -->C'D</p> |
---|
19 | </textarea> |
---|
20 | |
---|
21 | <h1>#8216</h1> |
---|
22 | <textarea cols="80" id="editor2" name="editor2" rows="10"> |
---|
23 | <p> |
---|
24 | <script>/*'*/</script><!-- comment --><script>/*'*/</script> |
---|
25 | </p> |
---|
26 | </textarea> |
---|
27 | |
---|
28 | <h1>#7805</h1> |
---|
29 | <textarea cols="80" id="editor3" name="editor3" rows="10"> |
---|
30 | <p><span foo="1 |
---|
31 | ">A<!-- comment -->B"</span></p> |
---|
32 | |
---|
33 | <p><span a="1 |
---|
34 | 1" b="2">A<!-- comment -->B"</span></p> |
---|
35 | </textarea> |
---|
36 | |
---|
37 | <script> |
---|
38 | CKEDITOR.replace( 'editor1', { |
---|
39 | height: 100, |
---|
40 | allowedContent: true |
---|
41 | } ); |
---|
42 | CKEDITOR.replace( 'editor2', { |
---|
43 | height: 100, |
---|
44 | allowedContent: true |
---|
45 | } ); |
---|
46 | CKEDITOR.replace( 'editor3', { |
---|
47 | height: 100, |
---|
48 | allowedContent: true, |
---|
49 | removePlugins: 'pastefromword' |
---|
50 | } ); |
---|
51 | </script> |
---|
52 | </form> |
---|
53 | </body> |
---|
54 | </html> |
---|