diff options
author | polo <ordipolo@gmx.fr> | 2022-02-20 20:49:13 +0100 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2022-02-20 20:49:13 +0100 |
commit | 758b3f359341f963946d6d34e8f39d2a9c1f6040 (patch) | |
tree | 3efb7f1da4be4157615419e630eb0d6efbcb6c3d /lib/ckeditor5/sample/index.html | |
parent | a5ddb2af05644972de70dab3225bab0797a93934 (diff) | |
download | melaine-758b3f359341f963946d6d34e8f39d2a9c1f6040.zip |
debuggage
Diffstat (limited to 'lib/ckeditor5/sample/index.html')
-rw-r--r-- | lib/ckeditor5/sample/index.html | 294 |
1 files changed, 130 insertions, 164 deletions
diff --git a/lib/ckeditor5/sample/index.html b/lib/ckeditor5/sample/index.html index 8f3ac18..d46296a 100644 --- a/lib/ckeditor5/sample/index.html +++ b/lib/ckeditor5/sample/index.html | |||
@@ -1,164 +1,130 @@ | |||
1 | <!DOCTYPE html><!-- | 1 | <!DOCTYPE html><!-- |
2 | Copyright (c) 2014-2021, CKSource - Frederico Knabben. All rights reserved. | 2 | Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved. |
3 | This file is licensed under the terms of the MIT License (see LICENSE.md). | 3 | This file is licensed under the terms of the MIT License (see LICENSE.md). |
4 | --> | 4 | --> |
5 | 5 | ||
6 | <html lang="en" dir="ltr"></html> | 6 | <html lang="en" dir="ltr"> |
7 | <head> | 7 | <head> |
8 | <title>CKEditor 5 ClassicEditor build</title> | 8 | <title>CKEditor 5 ClassicEditor build</title> |
9 | <meta charset="UTF-8"> | 9 | <meta charset="UTF-8"> |
10 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 10 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
11 | <link rel="icon" type="image/png" href="https://c.cksource.com/a/1/logos/ckeditor5.png"> | 11 | <link rel="icon" type="image/png" href="https://c.cksource.com/a/1/logos/ckeditor5.png"> |
12 | <link rel="stylesheet" type="text/css" href="styles.css"> | 12 | <link rel="stylesheet" type="text/css" href="styles.css"> |
13 | </head> | 13 | </head> |
14 | <body data-editor="ClassicEditor" data-collaboration="false"> | 14 | <body data-editor="ClassicEditor" data-collaboration="false" data-revision-history="false"> |
15 | <header> | 15 | <header> |
16 | <div class="centered"> | 16 | <div class="centered"> |
17 | <h1><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener noreferrer"><img src="https://c.cksource.com/a/1/logos/ckeditor5.svg" alt="CKEditor 5 logo">CKEditor 5</a></h1> | 17 | <h1><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener noreferrer"><img src="https://c.cksource.com/a/1/logos/ckeditor5.svg" alt="CKEditor 5 logo">CKEditor 5</a></h1> |
18 | <nav> | 18 | <nav> |
19 | <ul> | 19 | <ul> |
20 | <li><a href="https://ckeditor.com/docs/ckeditor5/" target="_blank" rel="noopener noreferrer">Documentation</a></li> | 20 | <li><a href="https://ckeditor.com/docs/ckeditor5/" target="_blank" rel="noopener noreferrer">Documentation</a></li> |
21 | <li><a href="https://ckeditor.com/" target="_blank" rel="noopener noreferrer">Website</a></li> | 21 | <li><a href="https://ckeditor.com/" target="_blank" rel="noopener noreferrer">Website</a></li> |
22 | </ul> | 22 | </ul> |
23 | </nav> | 23 | </nav> |
24 | </div> | 24 | </div> |
25 | </header> | 25 | </header> |
26 | <main> | 26 | <main> |
27 | <div class="message"> | 27 | <div class="message"> |
28 | <div class="centered"> | 28 | <div class="centered"> |
29 | <h2>CKEditor 5 online builder demo - ClassicEditor build</h2> | 29 | <h2>CKEditor 5 online builder demo - ClassicEditor build</h2> |
30 | </div> | 30 | </div> |
31 | </div> | 31 | </div> |
32 | <div class="centered"> | 32 | <div class="centered"> |
33 | <div class="row row-editor"> | 33 | <div class="row row-editor"> |
34 | <div class="editor"> | 34 | <div class="editor-container"> |
35 | <h2>Bilingual Personality Disorder</h2> | 35 | <div class="editor"> |
36 | <figure class="image image-style-side"><img src="https://c.cksource.com/a/1/img/docs/sample-image-bilingual-personality-disorder.jpg"> | 36 | <h2>Bilingual Personality Disorder</h2> |
37 | <figcaption>One language, one person.</figcaption> | 37 | <figure class="image image-style-side"><img src="https://c.cksource.com/a/1/img/docs/sample-image-bilingual-personality-disorder.jpg"> |
38 | </figure> | 38 | <figcaption>One language, one person.</figcaption> |
39 | <p> | 39 | </figure> |
40 | This may be the first time you hear about this made-up disorder but | 40 | <p> |
41 | it actually isn’t so far from the truth. Even the studies that were conducted almost half a century show that | 41 | This may be the first time you hear about this made-up disorder but |
42 | <strong>the language you speak has more effects on you than you realise</strong>. | 42 | it actually isn’t so far from the truth. Even the studies that were conducted almost half a century show that |
43 | </p> | 43 | <strong>the language you speak has more effects on you than you realise</strong>. |
44 | <p> | 44 | </p> |
45 | One of the very first experiments conducted on this topic dates back to 1964. | 45 | <p> |
46 | <a href="https://www.researchgate.net/publication/9440038_Language_and_TAT_content_in_bilinguals">In the experiment</a> | 46 | One of the very first experiments conducted on this topic dates back to 1964. |
47 | designed by linguist Ervin-Tripp who is an authority expert in psycholinguistic and sociolinguistic studies, | 47 | <a href="https://www.researchgate.net/publication/9440038_Language_and_TAT_content_in_bilinguals">In the experiment</a> |
48 | adults who are bilingual in English in French were showed series of pictures and were asked to create 3-minute stories. | 48 | designed by linguist Ervin-Tripp who is an authority expert in psycholinguistic and sociolinguistic studies, |
49 | In the end participants emphasized drastically different dynamics for stories in English and French. | 49 | adults who are bilingual in English in French were showed series of pictures and were asked to create 3-minute stories. |
50 | </p> | 50 | In the end participants emphasized drastically different dynamics for stories in English and French. |
51 | <p> | 51 | </p> |
52 | Another ground-breaking experiment which included bilingual Japanese women married to American men in San Francisco were | 52 | <p> |
53 | asked to complete sentences. The goal of the experiment was to investigate whether or not human feelings and thoughts | 53 | Another ground-breaking experiment which included bilingual Japanese women married to American men in San Francisco were |
54 | are expressed differently in <strong>different language mindsets</strong>. | 54 | asked to complete sentences. The goal of the experiment was to investigate whether or not human feelings and thoughts |
55 | <Here>is a sample from the the experiment:</Here> | 55 | are expressed differently in <strong>different language mindsets</strong>. |
56 | </p> | 56 | Here is a sample from the the experiment: |
57 | <table> | 57 | </p> |
58 | <thead> | 58 | <table> |
59 | <tr> | 59 | <thead> |
60 | <th></th> | 60 | <tr> |
61 | <th>English</th> | 61 | <th></th> |
62 | <th>Japanese</th> | 62 | <th>English</th> |
63 | </tr> | 63 | <th>Japanese</th> |
64 | </thead> | 64 | </tr> |
65 | <tbody> | 65 | </thead> |
66 | <tr> | 66 | <tbody> |
67 | <td>Real friends should</td> | 67 | <tr> |
68 | <td>Be very frank</td> | 68 | <td>Real friends should</td> |
69 | <td>Help each other</td> | 69 | <td>Be very frank</td> |
70 | </tr> | 70 | <td>Help each other</td> |
71 | <tr> | 71 | </tr> |
72 | <td>I will probably become</td> | 72 | <tr> |
73 | <td>A teacher</td> | 73 | <td>I will probably become</td> |
74 | <td>A housewife</td> | 74 | <td>A teacher</td> |
75 | </tr> | 75 | <td>A housewife</td> |
76 | <tr> | 76 | </tr> |
77 | <td>When there is a conflict with family</td> | 77 | <tr> |
78 | <td>I do what I want</td> | 78 | <td>When there is a conflict with family</td> |
79 | <td>It's a time of great unhappiness</td> | 79 | <td>I do what I want</td> |
80 | </tr> | 80 | <td>It's a time of great unhappiness</td> |
81 | </tbody> | 81 | </tr> |
82 | </table> | 82 | </tbody> |
83 | <p> | 83 | </table> |
84 | More recent <a href="https://books.google.pl/books?id=1LMhWGHGkRUC">studies</a> show, the language a person speaks affects | 84 | <p> |
85 | their cognition, behaviour, emotions and hence <strong>their personality</strong>. | 85 | More recent <a href="https://books.google.pl/books?id=1LMhWGHGkRUC">studies</a> show, the language a person speaks affects |
86 | This shouldn’t come as a surprise | 86 | their cognition, behaviour, emotions and hence <strong>their personality</strong>. |
87 | <a href="https://en.wikipedia.org/wiki/Lateralization_of_brain_function">since we already know</a> that different regions | 87 | This shouldn’t come as a surprise |
88 | of the brain become more active depending on the person’s activity at hand. Since structure, information and especially | 88 | <a href="https://en.wikipedia.org/wiki/Lateralization_of_brain_function">since we already know</a> that different regions |
89 | <strong>the culture</strong> of languages varies substantially and the language a person speaks is an essential element of daily life. | 89 | of the brain become more active depending on the person’s activity at hand. Since structure, information and especially |
90 | </p> | 90 | <strong>the culture</strong> of languages varies substantially and the language a person speaks is an essential element of daily life. |
91 | </div> | 91 | </p> |
92 | </div></div> | 92 | </div> |
93 | </div> | 93 | </div> |
94 | </main> | 94 | </div></div> |
95 | <footer> | 95 | </div> |
96 | <p><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener">CKEditor 5</a> | 96 | </main> |
97 | – Rich text editor of tomorrow, available today | 97 | <footer> |
98 | </p> | 98 | <p><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener">CKEditor 5</a> |
99 | <p>Copyright © 2003-2021, | 99 | – Rich text editor of tomorrow, available today |
100 | <a href="https://cksource.com/" target="_blank" rel="noopener">CKSource</a> | 100 | </p> |
101 | – Frederico Knabben. All rights reserved. | 101 | <p>Copyright © 2003-2022, |
102 | </p> | 102 | <a href="https://cksource.com/" target="_blank" rel="noopener">CKSource</a> |
103 | </footer> | 103 | Holding sp. z o.o. All rights reserved. |
104 | <script src="../build/ckeditor.js"></script> | 104 | </p> |
105 | <script>ClassicEditor | 105 | </footer> |
106 | .create( document.querySelector( '.editor' ), { | 106 | <script src="../build/ckeditor.js"></script> |
107 | 107 | <script>ClassicEditor | |
108 | toolbar: { | 108 | .create( document.querySelector( '.editor' ), { |
109 | items: [ | 109 | |
110 | 'heading', | 110 | licenseKey: '', |
111 | '|', | 111 | |
112 | 'bold', | 112 | |
113 | 'italic', | 113 | |
114 | 'link', | 114 | } ) |
115 | 'bulletedList', | 115 | .then( editor => { |
116 | 'numberedList', | 116 | window.editor = editor; |
117 | '|', | 117 | |
118 | 'imageUpload', | 118 | |
119 | 'blockQuote', | 119 | |
120 | 'insertTable', | 120 | |
121 | 'undo', | 121 | } ) |
122 | 'redo' | 122 | .catch( error => { |
123 | ] | 123 | console.error( 'Oops, something went wrong!' ); |
124 | }, | 124 | console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' ); |
125 | language: 'fr', | 125 | console.warn( 'Build id: snbfnxyy4drd-nofxirpg8ewj' ); |
126 | image: { | 126 | console.error( error ); |
127 | toolbar: [ | 127 | } ); |
128 | 'imageTextAlternative', | 128 | </script> |
129 | 'imageStyle:full', | 129 | </body> |
130 | 'imageStyle:side', | 130 | </html> \ No newline at end of file |
131 | 'linkImage' | ||
132 | ] | ||
133 | }, | ||
134 | table: { | ||
135 | contentToolbar: [ | ||
136 | 'tableColumn', | ||
137 | 'tableRow', | ||
138 | 'mergeTableCells', | ||
139 | 'tableProperties' | ||
140 | ] | ||
141 | }, | ||
142 | licenseKey: '', | ||
143 | |||
144 | |||
145 | } ) | ||
146 | .then( editor => { | ||
147 | window.editor = editor; | ||
148 | |||
149 | |||
150 | |||
151 | |||
152 | |||
153 | |||
154 | |||
155 | |||
156 | } ) | ||
157 | .catch( error => { | ||
158 | console.error( 'Oops, something went wrong!' ); | ||
159 | console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' ); | ||
160 | console.warn( 'Build id: aovpauzd25hi-dqoovaepm42n' ); | ||
161 | console.error( error ); | ||
162 | } ); | ||
163 | </script> | ||
164 | </body> \ No newline at end of file | ||