| 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>#11544</title> |
|---|
| 10 | <script src="../ckeditor.js"></script> |
|---|
| 11 | <link href="sample.css" rel="stylesheet"> |
|---|
| 12 | </head> |
|---|
| 13 | <body> |
|---|
| 14 | <h1 class="samples"> |
|---|
| 15 | #11544 |
|---|
| 16 | </h1> |
|---|
| 17 | <form action="sample_posteddata.php" method="post"> |
|---|
| 18 | </div> |
|---|
| 19 | <textarea cols="80" id="editor1" name="editor1" rows="10"> |
|---|
| 20 | <!DOCTYPE html> |
|---|
| 21 | <html> |
|---|
| 22 | <head> |
|---|
| 23 | <meta charset="utf-8"> |
|---|
| 24 | <title>foo [[bar]] foo</title> |
|---|
| 25 | [[:xxx:]] |
|---|
| 26 | </head> |
|---|
| 27 | <body>foo [[bar]] foo</body> |
|---|
| 28 | </html> |
|---|
| 29 | </textarea> |
|---|
| 30 | <script> |
|---|
| 31 | |
|---|
| 32 | CKEDITOR.replace( 'editor1', { |
|---|
| 33 | fullPage: true, |
|---|
| 34 | extraPlugins: 'placeholder', |
|---|
| 35 | protectedSource: [ ( /\[\[:\w+:\]\]/ ) ] |
|---|
| 36 | } ); |
|---|
| 37 | |
|---|
| 38 | </script> |
|---|
| 39 | </form> |
|---|
| 40 | </body> |
|---|
| 41 | </html> |
|---|