Ticket #11500: 11500.html

File 11500.html, 2.1 KB (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>#11500</title>
10        <script src="../ckeditor.js"></script>
11        <link href="sample.css" rel="stylesheet">
12        <style>
13        .cke_textarea_inline {
14                width: 50%;
15                float: left;
16        }
17        </style>
18</head>
19<body>
20        <h1 class="samples">
21                #11500
22        </h1>
23        <form action="sample_posteddata.php" method="post">
24                <textarea cols="80" id="editor1" name="editor1" rows="10">
25                        &lt;h1&gt;Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.&lt;/p&gt;
26                </textarea>
27                <textarea cols="80" id="editor2" name="editor2" rows="10">
28                        &lt;h1&gt;Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.&lt;/p&gt;
29                </textarea>
30                <script>
31
32                        CKEDITOR.inline( 'editor1' );
33                        CKEDITOR.inline( 'editor2' );
34
35                        CKEDITOR.instances.editor1.on( 'key', function() {
36                                CKEDITOR.instances.editor2.setData( CKEDITOR.instances.editor1.getData() );
37                        } );
38                        CKEDITOR.instances.editor2.on( 'key', function() {
39                                CKEDITOR.instances.editor1.setData( CKEDITOR.instances.editor2.getData() );
40                        } );
41
42
43                </script>
44        </form>
45</body>
46</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy