Ticket #11544: 11544.html

File 11544.html, 888 bytes (added by Piotrek Koszuliński, 10 years ago)
Line 
1<!DOCTYPE html>
2<!--
3Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4For 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                        &lt;!DOCTYPE html>
21                        &lt;html>
22                        &lt;head>
23                                &lt;meta charset="utf-8">
24                                &lt;title>foo [[bar]] foo&lt;/title>
25                                [[:xxx:]]
26                        &lt;/head>
27                        &lt;body>foo [[bar]] foo&lt;/body>
28                        &lt;/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>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy