diff options
Diffstat (limited to 'lib/ckeditor5/sample')
-rw-r--r-- | lib/ckeditor5/sample/index.html | 7 | ||||
-rw-r--r-- | lib/ckeditor5/sample/styles.css | 20 |
2 files changed, 19 insertions, 8 deletions
diff --git a/lib/ckeditor5/sample/index.html b/lib/ckeditor5/sample/index.html index d46296a..f1faae8 100644 --- a/lib/ckeditor5/sample/index.html +++ b/lib/ckeditor5/sample/index.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <!DOCTYPE html><!-- | 1 | <!DOCTYPE html><!-- |
2 | Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved. | 2 | Copyright (c) 2014-2023, 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 | ||
@@ -98,7 +98,7 @@ | |||
98 | <p><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener">CKEditor 5</a> | 98 | <p><a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener">CKEditor 5</a> |
99 | – Rich text editor of tomorrow, available today | 99 | – Rich text editor of tomorrow, available today |
100 | </p> | 100 | </p> |
101 | <p>Copyright © 2003-2022, | 101 | <p>Copyright © 2003-2023, |
102 | <a href="https://cksource.com/" target="_blank" rel="noopener">CKSource</a> | 102 | <a href="https://cksource.com/" target="_blank" rel="noopener">CKSource</a> |
103 | Holding sp. z o.o. All rights reserved. | 103 | Holding sp. z o.o. All rights reserved. |
104 | </p> | 104 | </p> |
@@ -111,6 +111,7 @@ | |||
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||
114 | |||
114 | } ) | 115 | } ) |
115 | .then( editor => { | 116 | .then( editor => { |
116 | window.editor = editor; | 117 | window.editor = editor; |
@@ -122,7 +123,7 @@ | |||
122 | .catch( error => { | 123 | .catch( error => { |
123 | console.error( 'Oops, something went wrong!' ); | 124 | console.error( 'Oops, something went wrong!' ); |
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 | console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' ); |
125 | console.warn( 'Build id: snbfnxyy4drd-nofxirpg8ewj' ); | 126 | console.warn( 'Build id: 3lfvl19t3mll-ic35i33ykfie' ); |
126 | console.error( error ); | 127 | console.error( error ); |
127 | } ); | 128 | } ); |
128 | </script> | 129 | </script> |
diff --git a/lib/ckeditor5/sample/styles.css b/lib/ckeditor5/sample/styles.css index c7cbf76..1ec0e02 100644 --- a/lib/ckeditor5/sample/styles.css +++ b/lib/ckeditor5/sample/styles.css | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved. | 2 | * @license Copyright (c) 2014-2023, 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 | ||
@@ -32,10 +32,6 @@ main .ck-editor[role='application'] .ck.ck-content, | |||
32 | padding: 1.5em 2em; | 32 | padding: 1.5em 2em; |
33 | } | 33 | } |
34 | 34 | ||
35 | main .ck-editor[role='application'] { | ||
36 | overflow: auto; | ||
37 | } | ||
38 | |||
39 | .ck.ck-editor__editable { | 35 | .ck.ck-editor__editable { |
40 | background: #fff; | 36 | background: #fff; |
41 | border: 1px solid hsl(0, 0%, 70%); | 37 | border: 1px solid hsl(0, 0%, 70%); |
@@ -347,6 +343,20 @@ body[data-revision-history='true'] .ck.ck-pagination-view-line::after { | |||
347 | right: unset !important; | 343 | right: unset !important; |
348 | } | 344 | } |
349 | 345 | ||
346 | /* --------- DOCUMENT OUTLINE FEATURE ------------------------------------------------------------------------------ */ | ||
347 | |||
348 | .document-outline-container { | ||
349 | max-height: 80vh; | ||
350 | overflow-y: auto; | ||
351 | margin-bottom: 1em; | ||
352 | } | ||
353 | |||
354 | .document-outline-container .ck.ck-document-outline { | ||
355 | min-height: 100%; | ||
356 | border: 1px solid var(--ck-color-base-border); | ||
357 | background-color: hsl(0, 0%, 96%); | ||
358 | } | ||
359 | |||
350 | /* --------- SAMPLE GENERIC STYLES (not related to CKEditor) ------------------------------------------------------- */ | 360 | /* --------- SAMPLE GENERIC STYLES (not related to CKEditor) ------------------------------------------------------- */ |
351 | body, html { | 361 | body, html { |
352 | padding: 0; | 362 | padding: 0; |