@ckeditor/ckeditor5-font 42.0.2 → 43.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/CHANGELOG.md +1 -177
- package/build/font.js +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/fontfamily/fontfamilyui.js +4 -1
- package/src/fontsize/fontsizeui.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-font",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.0-alpha.1",
|
|
4
4
|
"description": "Font feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "
|
|
20
|
-
"ckeditor5": "
|
|
16
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.1",
|
|
20
|
+
"ckeditor5": "43.0.0-alpha.1"
|
|
21
21
|
},
|
|
22
22
|
"author": "CKSource (http://cksource.com/)",
|
|
23
23
|
"license": "GPL-2.0-or-later",
|
|
@@ -67,8 +67,11 @@ export default class FontFamilyUI extends Plugin {
|
|
|
67
67
|
for (const definition of listOptions) {
|
|
68
68
|
const listItemView = new MenuBarMenuListItemView(locale, menuView);
|
|
69
69
|
const buttonView = new MenuBarMenuListItemButtonView(locale);
|
|
70
|
+
buttonView.set({
|
|
71
|
+
role: 'menuitemradio',
|
|
72
|
+
isToggleable: true
|
|
73
|
+
});
|
|
70
74
|
buttonView.bind(...Object.keys(definition.model)).to(definition.model);
|
|
71
|
-
buttonView.bind('ariaChecked').to(buttonView, 'isOn');
|
|
72
75
|
buttonView.delegate('execute').to(menuView);
|
|
73
76
|
buttonView.on('execute', () => {
|
|
74
77
|
editor.execute(definition.model.commandName, {
|
|
@@ -71,8 +71,11 @@ export default class FontSizeUI extends Plugin {
|
|
|
71
71
|
for (const definition of listOptions) {
|
|
72
72
|
const listItemView = new MenuBarMenuListItemView(locale, menuView);
|
|
73
73
|
const buttonView = new MenuBarMenuListItemButtonView(locale);
|
|
74
|
+
buttonView.set({
|
|
75
|
+
role: 'menuitemradio',
|
|
76
|
+
isToggleable: true
|
|
77
|
+
});
|
|
74
78
|
buttonView.bind(...Object.keys(definition.model)).to(definition.model);
|
|
75
|
-
buttonView.bind('ariaChecked').to(buttonView, 'isOn');
|
|
76
79
|
buttonView.delegate('execute').to(menuView);
|
|
77
80
|
buttonView.on('execute', () => {
|
|
78
81
|
editor.execute(definition.model.commandName, {
|