@ckeditor/ckeditor5-source-editing 42.0.1 → 42.0.2-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/index-editor.css +37 -35
  2. package/dist/translations/ar.d.ts +1 -1
  3. package/dist/translations/bg.d.ts +1 -1
  4. package/dist/translations/bn.d.ts +1 -1
  5. package/dist/translations/ca.d.ts +1 -1
  6. package/dist/translations/cs.d.ts +1 -1
  7. package/dist/translations/da.d.ts +1 -1
  8. package/dist/translations/de.d.ts +1 -1
  9. package/dist/translations/el.d.ts +1 -1
  10. package/dist/translations/en-au.d.ts +1 -1
  11. package/dist/translations/en.d.ts +1 -1
  12. package/dist/translations/es.d.ts +1 -1
  13. package/dist/translations/et.d.ts +1 -1
  14. package/dist/translations/fi.d.ts +1 -1
  15. package/dist/translations/fr.d.ts +1 -1
  16. package/dist/translations/gl.d.ts +1 -1
  17. package/dist/translations/he.d.ts +1 -1
  18. package/dist/translations/hi.d.ts +1 -1
  19. package/dist/translations/hr.d.ts +1 -1
  20. package/dist/translations/hu.d.ts +1 -1
  21. package/dist/translations/id.d.ts +1 -1
  22. package/dist/translations/it.d.ts +1 -1
  23. package/dist/translations/ja.d.ts +1 -1
  24. package/dist/translations/ko.d.ts +1 -1
  25. package/dist/translations/lt.d.ts +1 -1
  26. package/dist/translations/lv.d.ts +1 -1
  27. package/dist/translations/ms.d.ts +1 -1
  28. package/dist/translations/nl.d.ts +1 -1
  29. package/dist/translations/no.d.ts +1 -1
  30. package/dist/translations/pl.d.ts +1 -1
  31. package/dist/translations/pt-br.d.ts +1 -1
  32. package/dist/translations/pt.d.ts +1 -1
  33. package/dist/translations/ro.d.ts +1 -1
  34. package/dist/translations/ru.d.ts +1 -1
  35. package/dist/translations/sk.d.ts +1 -1
  36. package/dist/translations/sr-latn.d.ts +1 -1
  37. package/dist/translations/sr.d.ts +1 -1
  38. package/dist/translations/sv.d.ts +1 -1
  39. package/dist/translations/th.d.ts +1 -1
  40. package/dist/translations/tr.d.ts +1 -1
  41. package/dist/translations/ug.d.ts +1 -1
  42. package/dist/translations/uk.d.ts +1 -1
  43. package/dist/translations/ur.d.ts +1 -1
  44. package/dist/translations/vi.d.ts +1 -1
  45. package/dist/translations/zh-cn.d.ts +1 -1
  46. package/dist/translations/zh.d.ts +1 -1
  47. package/package.json +6 -3
  48. /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
  49. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
  50. /package/dist/{types/sourceediting.d.ts → sourceediting.d.ts} +0 -0
  51. /package/dist/{types/sourceeditingconfig.d.ts → sourceeditingconfig.d.ts} +0 -0
  52. /package/dist/{types/utils → utils}/formathtml.d.ts +0 -0
@@ -2,48 +2,50 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- .ck-source-editing-area {
6
- position: relative;
7
- overflow: hidden;
8
-
5
+ .ck-source-editing-area{
6
+ position:relative;
7
+ overflow:hidden;
9
8
  }
10
- .ck-source-editing-area::after {
11
- padding: var(--ck-spacing-large);
12
- margin: 0;
13
- border: 1px solid transparent;
14
- line-height: var(--ck-line-height-base);
15
- font-size: var(--ck-font-size-normal);
16
- font-family: monospace;
17
- white-space: pre-wrap;
18
9
 
10
+ .ck-source-editing-area::after,
11
+ .ck-source-editing-area textarea{
12
+ padding:var(--ck-spacing-large);
13
+ margin:0;
14
+ border:1px solid transparent;
15
+ line-height:var(--ck-line-height-base);
16
+ font-size:var(--ck-font-size-normal);
17
+ font-family:monospace;
18
+ white-space:pre-wrap;
19
19
  }
20
- .ck-source-editing-area::after {
21
- content: attr(data-value) " ";
22
- visibility: hidden;
23
- display: block;
24
20
 
21
+ .ck-source-editing-area::after{
22
+ content:attr(data-value) " ";
23
+ visibility:hidden;
24
+ display:block;
25
25
  }
26
- .ck-source-editing-area textarea {
27
- position: absolute;
28
- width: 100%;
29
- height: 100%;
30
- resize: none;
31
- outline: none;
32
- overflow: hidden;
33
- box-sizing: border-box;
34
- border-color: var(--ck-color-base-border);
35
- border-radius: 0;
36
26
 
37
- }
38
- .ck-rounded-corners .ck-source-editing-area textarea {
39
- border-radius: var(--ck-border-radius);
40
- border-top-left-radius: 0;
41
- border-top-right-radius: 0;
27
+ .ck-source-editing-area textarea{
28
+ position:absolute;
29
+ width:100%;
30
+ height:100%;
31
+ resize:none;
32
+ outline:none;
33
+ overflow:hidden;
34
+ box-sizing:border-box;
42
35
 
36
+ border-color:var(--ck-color-base-border);
37
+
38
+ border-radius:0;
43
39
  }
44
- .ck-source-editing-area textarea:not([readonly]):focus {
45
- outline: none;
46
- border: var(--ck-focus-ring);
47
- box-shadow: var(--ck-inner-shadow), 0 0;
48
40
 
41
+ .ck-rounded-corners .ck-source-editing-area textarea, .ck-source-editing-area textarea.ck-rounded-corners{
42
+ border-radius:var(--ck-border-radius);
43
+ border-top-left-radius:0;
44
+ border-top-right-radius:0;
49
45
  }
46
+
47
+ .ck-source-editing-area textarea:not([readonly]):focus{
48
+ outline:none;
49
+ border:var(--ck-focus-ring);
50
+ box-shadow:var(--ck-inner-shadow), 0 0;
51
+ }
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing",
3
- "version": "42.0.1",
3
+ "version": "42.0.2-alpha.1",
4
4
  "description": "Source editing feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,8 +13,11 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-theme-lark": "42.0.1",
17
- "ckeditor5": "42.0.1"
16
+ "@ckeditor/ckeditor5-core": "42.0.2-alpha.1",
17
+ "@ckeditor/ckeditor5-ui": "42.0.2-alpha.1",
18
+ "@ckeditor/ckeditor5-utils": "42.0.2-alpha.1",
19
+ "@ckeditor/ckeditor5-theme-lark": "42.0.2-alpha.1",
20
+ "ckeditor5": "42.0.2-alpha.1"
18
21
  },
19
22
  "author": "CKSource (http://cksource.com/)",
20
23
  "license": "GPL-2.0-or-later",
File without changes
File without changes