@ckeditor/ckeditor5-heading 48.2.0 → 48.3.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/dist/augmentation.d.ts +28 -28
- package/dist/heading.d.ts +31 -31
- package/dist/headingbuttonsui.d.ts +46 -46
- package/dist/headingcommand.d.ts +43 -43
- package/dist/headingconfig.d.ts +112 -112
- package/dist/headingediting.d.ts +41 -41
- package/dist/headingui.d.ts +21 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.js +874 -987
- package/dist/index.js.map +1 -1
- package/dist/title.d.ts +122 -122
- package/dist/utils.d.ts +16 -16
- package/package.json +8 -8
package/dist/headingui.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin } from
|
|
9
|
-
import
|
|
6
|
+
* @module heading/headingui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import "../theme/heading.css";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* The headings UI feature. It introduces the `headings` dropdown.
|
|
12
|
+
*/
|
|
13
13
|
export declare class HeadingUI extends Plugin {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): "HeadingUI";
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static override get isOfficialPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
init(): void;
|
|
26
26
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/heading.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,KAAA,CAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA,CAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI;AACnB;;ADQC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,OAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACLD,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG;AACZ;;ADQC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,OAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA,CAAA,EAAA,CAAA,UAAA,CAAA;ACLD,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;AACjB;;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.ck.ck-heading_heading1 .ck-button__label {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 .ck-button__label {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 .ck-button__label {\n\tfont-size: 14px;\n}\n\n.ck[class*=\"ck-heading_heading\"] {\n\tfont-weight: bold;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n",".ck.ck-heading_heading1 .ck-button__label {\n font-size: 20px;\n}\n\n.ck.ck-heading_heading2 .ck-button__label {\n font-size: 17px;\n}\n\n.ck.ck-heading_heading3 .ck-button__label {\n font-size: 14px;\n}\n\n.ck[class*=\"ck-heading_heading\"] {\n font-weight: bold;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label {\n width: 8em;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item {\n min-width: 18em;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
|
1
|
+
{"version":3,"sources":["../theme/heading.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB;;ADOA,CAAA,EAAA,CAAA,KAAA,CAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA,CAAA,CAAA;ACJA,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI;AACnB;;ADQC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,OAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA;ACLD,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG;AACZ;;ADQC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,OAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA,CAAA,EAAA,CAAA,UAAA,CAAA;ACLD,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;AACjB;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license 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.ck.ck-heading_heading1 .ck-button__label {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 .ck-button__label {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 .ck-button__label {\n\tfont-size: 14px;\n}\n\n.ck[class*=\"ck-heading_heading\"] {\n\tfont-weight: bold;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n",".ck.ck-heading_heading1 .ck-button__label {\n font-size: 20px;\n}\n\n.ck.ck-heading_heading2 .ck-button__label {\n font-size: 17px;\n}\n\n.ck.ck-heading_heading3 .ck-button__label {\n font-size: 14px;\n}\n\n.ck[class*=\"ck-heading_heading\"] {\n font-weight: bold;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label {\n width: 8em;\n}\n\n.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item {\n min-width: 18em;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Heading } from
|
|
9
|
-
export type { HeadingOption, HeadingElementOption } from
|
|
10
|
-
export { HeadingEditing } from
|
|
11
|
-
export { HeadingUI } from
|
|
12
|
-
export { HeadingButtonsUI } from
|
|
13
|
-
export { HeadingCommand } from
|
|
14
|
-
export { Title, type HeadingTitleConfig } from
|
|
15
|
-
export type { HeadingConfig, HeadingParagraphOption } from
|
|
16
|
-
export { getLocalizedOptions as _getLocalizedHeadingOptions } from
|
|
17
|
-
import
|
|
6
|
+
* @module heading
|
|
7
|
+
*/
|
|
8
|
+
export { Heading } from "./heading.js";
|
|
9
|
+
export type { HeadingOption, HeadingElementOption } from "./headingconfig.js";
|
|
10
|
+
export { HeadingEditing } from "./headingediting.js";
|
|
11
|
+
export { HeadingUI } from "./headingui.js";
|
|
12
|
+
export { HeadingButtonsUI } from "./headingbuttonsui.js";
|
|
13
|
+
export { HeadingCommand } from "./headingcommand.js";
|
|
14
|
+
export { Title, type HeadingTitleConfig } from "./title.js";
|
|
15
|
+
export type { HeadingConfig, HeadingParagraphOption } from "./headingconfig.js";
|
|
16
|
+
export { getLocalizedOptions as _getLocalizedHeadingOptions } from "./utils.js";
|
|
17
|
+
import "./augmentation.js";
|