@ckeditor/ckeditor5-font 47.6.1 → 48.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +8 -8
- package/{src → dist}/font.d.ts +1 -1
- package/{src → dist}/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +1 -1
- package/{src → dist}/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +1 -1
- package/{src → dist}/fontbackgroundcolor/fontbackgroundcolorui.d.ts +1 -1
- package/{src → dist}/fontbackgroundcolor.d.ts +1 -1
- package/{src → dist}/fontcolor/fontcolorcommand.d.ts +1 -1
- package/{src → dist}/fontcolor/fontcolorediting.d.ts +1 -1
- package/{src → dist}/fontcolor/fontcolorui.d.ts +1 -1
- package/{src → dist}/fontcolor.d.ts +1 -1
- package/{src → dist}/fontcommand.d.ts +2 -2
- package/{src → dist}/fontconfig.d.ts +2 -2
- package/{src → dist}/fontfamily/fontfamilycommand.d.ts +1 -1
- package/{src → dist}/fontfamily/fontfamilyediting.d.ts +1 -1
- package/{src → dist}/fontfamily/fontfamilyui.d.ts +1 -1
- package/{src → dist}/fontfamily.d.ts +1 -1
- package/{src → dist}/fontsize/fontsizecommand.d.ts +1 -1
- package/{src → dist}/fontsize/fontsizeediting.d.ts +1 -1
- package/{src → dist}/fontsize/fontsizeui.d.ts +1 -1
- package/{src → dist}/fontsize.d.ts +1 -1
- package/dist/index-content.css +16 -12
- package/dist/index-editor.css +4 -4
- package/dist/index.css +15 -21
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/{src → dist}/ui/colorui.d.ts +1 -1
- package/{src → dist}/utils.d.ts +3 -3
- package/package.json +23 -47
- package/build/font.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -12
- package/lang/translations/af.po +0 -52
- package/lang/translations/ar.po +0 -52
- package/lang/translations/ast.po +0 -52
- package/lang/translations/az.po +0 -52
- package/lang/translations/be.po +0 -52
- package/lang/translations/bg.po +0 -52
- package/lang/translations/bn.po +0 -52
- package/lang/translations/bs.po +0 -52
- package/lang/translations/ca.po +0 -52
- package/lang/translations/cs.po +0 -52
- package/lang/translations/da.po +0 -52
- package/lang/translations/de-ch.po +0 -52
- package/lang/translations/de.po +0 -52
- package/lang/translations/el.po +0 -52
- package/lang/translations/en-au.po +0 -52
- package/lang/translations/en-gb.po +0 -52
- package/lang/translations/en.po +0 -52
- package/lang/translations/eo.po +0 -52
- package/lang/translations/es-co.po +0 -52
- package/lang/translations/es.po +0 -52
- package/lang/translations/et.po +0 -52
- package/lang/translations/eu.po +0 -52
- package/lang/translations/fa.po +0 -52
- package/lang/translations/fi.po +0 -52
- package/lang/translations/fr.po +0 -52
- package/lang/translations/gl.po +0 -52
- package/lang/translations/gu.po +0 -52
- package/lang/translations/he.po +0 -52
- package/lang/translations/hi.po +0 -52
- package/lang/translations/hr.po +0 -52
- package/lang/translations/hu.po +0 -52
- package/lang/translations/hy.po +0 -52
- package/lang/translations/id.po +0 -52
- package/lang/translations/it.po +0 -52
- package/lang/translations/ja.po +0 -52
- package/lang/translations/jv.po +0 -52
- package/lang/translations/kk.po +0 -52
- package/lang/translations/km.po +0 -52
- package/lang/translations/kn.po +0 -52
- package/lang/translations/ko.po +0 -52
- package/lang/translations/ku.po +0 -52
- package/lang/translations/lt.po +0 -52
- package/lang/translations/lv.po +0 -52
- package/lang/translations/ms.po +0 -52
- package/lang/translations/nb.po +0 -52
- package/lang/translations/ne.po +0 -52
- package/lang/translations/nl.po +0 -52
- package/lang/translations/no.po +0 -52
- package/lang/translations/oc.po +0 -52
- package/lang/translations/pl.po +0 -52
- package/lang/translations/pt-br.po +0 -52
- package/lang/translations/pt.po +0 -52
- package/lang/translations/ro.po +0 -52
- package/lang/translations/ru.po +0 -52
- package/lang/translations/si.po +0 -52
- package/lang/translations/sk.po +0 -52
- package/lang/translations/sl.po +0 -52
- package/lang/translations/sq.po +0 -52
- package/lang/translations/sr-latn.po +0 -52
- package/lang/translations/sr.po +0 -52
- package/lang/translations/sv.po +0 -52
- package/lang/translations/th.po +0 -52
- package/lang/translations/ti.po +0 -52
- package/lang/translations/tk.po +0 -52
- package/lang/translations/tr.po +0 -52
- package/lang/translations/tt.po +0 -52
- package/lang/translations/ug.po +0 -52
- package/lang/translations/uk.po +0 -52
- package/lang/translations/ur.po +0 -52
- package/lang/translations/uz.po +0 -52
- package/lang/translations/vi.po +0 -52
- package/lang/translations/zh-cn.po +0 -52
- package/lang/translations/zh.po +0 -52
- package/src/augmentation.js +0 -5
- package/src/font.js +0 -43
- package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +0 -25
- package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +0 -129
- package/src/fontbackgroundcolor/fontbackgroundcolorui.js +0 -33
- package/src/fontbackgroundcolor.js +0 -40
- package/src/fontcolor/fontcolorcommand.js +0 -24
- package/src/fontcolor/fontcolorediting.js +0 -140
- package/src/fontcolor/fontcolorui.js +0 -33
- package/src/fontcolor.js +0 -39
- package/src/fontcommand.js +0 -92
- package/src/fontconfig.js +0 -5
- package/src/fontfamily/fontfamilycommand.js +0 -24
- package/src/fontfamily/fontfamilyediting.js +0 -121
- package/src/fontfamily/fontfamilyui.js +0 -152
- package/src/fontfamily/utils.js +0 -91
- package/src/fontfamily.js +0 -39
- package/src/fontsize/fontsizecommand.js +0 -24
- package/src/fontsize/fontsizeediting.js +0 -171
- package/src/fontsize/fontsizeui.js +0 -158
- package/src/fontsize/utils.js +0 -167
- package/src/fontsize.js +0 -49
- package/src/index.js +0 -30
- package/src/ui/colorui.js +0 -201
- package/src/utils.js +0 -107
- package/theme/fontsize.css +0 -33
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/fontfamily/utils.d.ts +0 -0
- /package/{src → dist}/fontsize/utils.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"className": "FontBackgroundColor",
|
|
6
6
|
"description": "Introduces font background color support with a configurable color palette panel.",
|
|
7
7
|
"docs": "features/font.html#configuring-the-font-color-and-font-background-color-features",
|
|
8
|
-
"path": "src/fontbackgroundcolor.
|
|
8
|
+
"path": "src/fontbackgroundcolor.ts",
|
|
9
9
|
"uiComponents": [
|
|
10
10
|
{
|
|
11
11
|
"type": "SplitButton",
|
|
12
12
|
"name": "fontBackgroundColor",
|
|
13
|
-
"
|
|
13
|
+
"iconName": "IconFontBackground"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"htmlOutput": [
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"className": "FontColor",
|
|
26
26
|
"description": "Introduces font color support with a configurable color palette panel.",
|
|
27
27
|
"docs": "features/font.html#configuring-the-font-color-and-font-background-color-features",
|
|
28
|
-
"path": "src/fontcolor.
|
|
28
|
+
"path": "src/fontcolor.ts",
|
|
29
29
|
"uiComponents": [
|
|
30
30
|
{
|
|
31
31
|
"type": "SplitButton",
|
|
32
32
|
"name": "fontColor",
|
|
33
|
-
"
|
|
33
|
+
"iconName": "IconFontColor"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"htmlOutput": [
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"className": "FontSize",
|
|
46
46
|
"description": "Introduces font size support.",
|
|
47
47
|
"docs": "features/font.html#configuring-the-font-size-feature",
|
|
48
|
-
"path": "src/fontsize.
|
|
48
|
+
"path": "src/fontsize.ts",
|
|
49
49
|
"uiComponents": [
|
|
50
50
|
{
|
|
51
51
|
"type": "SplitButton",
|
|
52
52
|
"name": "fontSize",
|
|
53
|
-
"
|
|
53
|
+
"iconName": "IconFontSize"
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
56
|
"htmlOutput": [
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"className": "FontFamily",
|
|
85
85
|
"description": "Introduces font family support.",
|
|
86
86
|
"docs": "features/font.html#configuring-the-font-family-feature",
|
|
87
|
-
"path": "src/fontfamily.
|
|
87
|
+
"path": "src/fontfamily.ts",
|
|
88
88
|
"uiComponents": [
|
|
89
89
|
{
|
|
90
90
|
"type": "SplitButton",
|
|
91
91
|
"name": "fontFamily",
|
|
92
|
-
"
|
|
92
|
+
"iconName": "IconFontFamily"
|
|
93
93
|
}
|
|
94
94
|
],
|
|
95
95
|
"htmlOutput": [
|
package/{src → dist}/font.d.ts
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/font
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontFamily } from './fontfamily.js';
|
|
10
10
|
import { FontSize } from './fontsize.js';
|
|
11
11
|
import { FontColor } from './fontcolor.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontbackgroundcolor/fontbackgroundcolorcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5
|
|
8
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontCommand } from '../fontcommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The font background color command. It is used by
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { FontColorUIBase } from '../ui/colorui.js';
|
|
6
|
-
import type { Editor } from 'ckeditor5
|
|
6
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
7
7
|
/**
|
|
8
8
|
* The font background color UI plugin. It introduces the `'fontBackgroundColor'` dropdown.
|
|
9
9
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontbackgroundcolor
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting.js';
|
|
10
10
|
import { FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui.js';
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontcolor/fontcolorcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5
|
|
8
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontCommand } from '../fontcommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The font color command. It is used by {@link module:font/fontcolor/fontcolorediting~FontColorEditing}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { FontColorUIBase } from '../ui/colorui.js';
|
|
6
|
-
import type { Editor } from 'ckeditor5
|
|
6
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
7
7
|
/**
|
|
8
8
|
* The font color UI plugin. It introduces the `'fontColor'` dropdown.
|
|
9
9
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontcolor
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontColorEditing } from './fontcolor/fontcolorediting.js';
|
|
10
10
|
import { FontColorUI } from './fontcolor/fontcolorui.js';
|
|
11
11
|
/**
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
9
|
-
import { type Batch } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { type Batch } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
/**
|
|
11
11
|
* The base font command.
|
|
12
12
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontconfig
|
|
7
7
|
*/
|
|
8
|
-
import type { ColorOption, ColorPickerConfig } from 'ckeditor5
|
|
9
|
-
import type { MatcherPattern, ViewElementDefinition } from 'ckeditor5
|
|
8
|
+
import type { ColorOption, ColorPickerConfig } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import type { MatcherPattern, ViewElementDefinition } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
/**
|
|
11
11
|
* The configuration of the font color and font background color features.
|
|
12
12
|
* This option is used by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} and
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontfamily/fontfamilycommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5
|
|
8
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontCommand } from '../fontcommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The font family command. It is used by {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontfamily
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontFamilyEditing } from './fontfamily/fontfamilyediting.js';
|
|
10
10
|
import { FontFamilyUI } from './fontfamily/fontfamilyui.js';
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontsize/fontsizecommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5
|
|
8
|
+
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontCommand } from '../fontcommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The font size command. It is used by {@link module:font/fontsize/fontsizeediting~FontSizeEditing}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module font/fontsize
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { FontSizeEditing } from './fontsize/fontsizeediting.js';
|
|
10
10
|
import { FontSizeUI } from './fontsize/fontsizeui.js';
|
|
11
11
|
import type { FontSizeOption } from './fontconfig.js';
|
package/dist/index-content.css
CHANGED
|
@@ -3,20 +3,24 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
--ck-content-font-size-tiny:.7em;
|
|
7
|
+
--ck-content-font-size-small:.85em;
|
|
8
|
+
--ck-content-font-size-big:1.4em;
|
|
9
|
+
--ck-content-font-size-huge:1.8em;
|
|
10
10
|
}
|
|
11
|
+
|
|
11
12
|
.ck-content .text-tiny{
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
font-size:var(--ck-content-font-size-tiny);
|
|
14
|
+
}
|
|
15
|
+
|
|
14
16
|
.ck-content .text-small{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
font-size:var(--ck-content-font-size-small);
|
|
18
|
+
}
|
|
19
|
+
|
|
17
20
|
.ck-content .text-big{
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
font-size:var(--ck-content-font-size-big);
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
.ck-content .text-huge{
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
font-size:var(--ck-content-font-size-huge);
|
|
26
|
+
}
|
package/dist/index-editor.css
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
--ck-content-font-size-tiny:.7em;
|
|
7
|
+
--ck-content-font-size-small:.85em;
|
|
8
|
+
--ck-content-font-size-big:1.4em;
|
|
9
|
+
--ck-content-font-size-huge:1.8em;
|
|
10
10
|
}
|
package/dist/index.css
CHANGED
|
@@ -2,33 +2,27 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/* The values should be synchronized with the "FONT_SIZE_PRESET_UNITS" object in the "/src/fontsize/utils.js" file. */
|
|
11
|
-
|
|
12
5
|
:root {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
--ck-content-font-size-tiny: .7em;
|
|
7
|
+
--ck-content-font-size-small: .85em;
|
|
8
|
+
--ck-content-font-size-big: 1.4em;
|
|
9
|
+
--ck-content-font-size-huge: 1.8em;
|
|
17
10
|
}
|
|
18
11
|
|
|
19
|
-
/* Styles should be prefixed with the `.ck-content` class.
|
|
20
|
-
See https://github.com/ckeditor/ckeditor5/issues/6636 */
|
|
21
12
|
.ck-content .text-tiny {
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
font-size: var(--ck-content-font-size-tiny);
|
|
14
|
+
}
|
|
15
|
+
|
|
24
16
|
.ck-content .text-small {
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
font-size: var(--ck-content-font-size-small);
|
|
18
|
+
}
|
|
19
|
+
|
|
27
20
|
.ck-content .text-big {
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
font-size: var(--ck-content-font-size-big);
|
|
22
|
+
}
|
|
23
|
+
|
|
30
24
|
.ck-content .text-huge {
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
font-size: var(--ck-content-font-size-huge);
|
|
26
|
+
}
|
|
33
27
|
|
|
34
28
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/fontsize.css","index.css"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"sources":["../theme/fontsize.css","index.css"],"names":[],"mappings":";;;;AAOA,CAAA,IAAA,CAAA;ACNA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG;AACnC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;AACrC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;AACnC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG;AACpC;;ADYC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACTD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AAC7C;;ADYC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACTD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;AAC9C;;ADYC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,GAAA,CAAA;ACTD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;AAC5C;;ADYC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACTD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AAC7C;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n:root {\n\t--ck-content-font-size-tiny: 0.7em;\n\t--ck-content-font-size-small: 0.85em;\n\t--ck-content-font-size-big: 1.4em;\n\t--ck-content-font-size-huge: 1.8em;\n}\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: var(--ck-content-font-size-tiny);\n\t}\n\n\t& .text-small {\n\t\tfont-size: var(--ck-content-font-size-small);\n\t}\n\n\t& .text-big {\n\t\tfont-size: var(--ck-content-font-size-big);\n\t}\n\n\t& .text-huge {\n\t\tfont-size: var(--ck-content-font-size-huge);\n\t}\n}\n",":root {\n --ck-content-font-size-tiny: .7em;\n --ck-content-font-size-small: .85em;\n --ck-content-font-size-big: 1.4em;\n --ck-content-font-size-huge: 1.8em;\n}\n\n.ck-content .text-tiny {\n font-size: var(--ck-content-font-size-tiny);\n}\n\n.ck-content .text-small {\n font-size: var(--ck-content-font-size-small);\n}\n\n.ck-content .text-big {\n font-size: var(--ck-content-font-size-big);\n}\n\n.ck-content .text-huge {\n font-size: var(--ck-content-font-size-huge);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|