Ticket #11983: 11983.html

File 11983.html, 1.9 KB (added by Piotrek Koszuliński, 11 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>#11983</title>
10        <script src="../ckeditor.js"></script>
11        <link href="sample.css" rel="stylesheet">
12</head>
13<body>
14        <h1 class="samples">
15                #11983
16        </h1>
17        <form action="sample_posteddata.php" method="post">
18                <textarea cols="80" id="editor1" name="editor1" rows="10">
19
20<p>Apollo 11</p>
21
22<figure class="image">
23        <img alt="Saturn V" src="assets/sample.jpg" width="200" />
24        <figcaption>Roll out of [[Saturn V]] on launch pad</figcaption>
25</figure>
26
27<p>Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, 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.</p>
28
29                </textarea>
30                <script>
31
32                        // This call can be placed at any point after the
33                        // <textarea>, or inside a <head><script> in a
34                        // window.onload event handler.
35
36                        // Replace the <textarea id="editor"> with an CKEditor
37                        // instance, using default configurations.
38
39                        var ed = CKEDITOR.replace( 'editor1', {
40                                extraPlugins: 'image2,placeholder',
41                                removePlugins: 'flash,iframe',
42                                height: 450
43                        } );
44
45                        ed.on( 'instanceReady', function() {
46                                ed.widgets.instances[ 0 ].editables.caption.setData( 'Foo [[bar]] xxx' );
47                                ed.widgets.initOnAll( ed.editable() );
48                        } );
49
50                </script>
51                <p>
52                        <input type="submit" value="Submit">
53                </p>
54        </form>
55        <div id="footer">
56                <hr>
57                <p>
58                        CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
59                </p>
60                <p id="copy">
61                        Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
62                        Knabben. All rights reserved.
63                </p>
64        </div>
65</body>
66</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy