@ckeditor/ckeditor5-special-characters 43.0.0-alpha.4 → 43.0.0-alpha.6
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.
|
@@ -89,7 +89,7 @@ export default class SpecialCharacters extends Plugin {
|
|
|
89
89
|
*/
|
|
90
90
|
private _createDropdownPanelContent;
|
|
91
91
|
/**
|
|
92
|
-
* Creates a button for
|
|
92
|
+
* Creates a button for toolbar and menu bar that will show special characters dialog.
|
|
93
93
|
*/
|
|
94
94
|
private _createDialogButton;
|
|
95
95
|
private _showDialog;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-special-characters",
|
|
3
|
-
"version": "43.0.0-alpha.
|
|
3
|
+
"version": "43.0.0-alpha.6",
|
|
4
4
|
"description": "Special characters 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
|
-
"ckeditor5": "43.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-core": "43.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-typing": "43.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.
|
|
16
|
+
"ckeditor5": "43.0.0-alpha.6",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.6",
|
|
18
|
+
"@ckeditor/ckeditor5-typing": "43.0.0-alpha.6",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.6",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.6"
|
|
21
21
|
},
|
|
22
22
|
"author": "CKSource (http://cksource.com/)",
|
|
23
23
|
"license": "GPL-2.0-or-later",
|
|
@@ -85,7 +85,7 @@ export default class SpecialCharacters extends Plugin {
|
|
|
85
85
|
*/
|
|
86
86
|
private _createDropdownPanelContent;
|
|
87
87
|
/**
|
|
88
|
-
* Creates a button for
|
|
88
|
+
* Creates a button for toolbar and menu bar that will show special characters dialog.
|
|
89
89
|
*/
|
|
90
90
|
private _createDialogButton;
|
|
91
91
|
private _showDialog;
|
package/src/specialcharacters.js
CHANGED
|
@@ -183,7 +183,7 @@ export default class SpecialCharacters extends Plugin {
|
|
|
183
183
|
return { categoriesView, gridView, infoView };
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
|
-
* Creates a button for
|
|
186
|
+
* Creates a button for toolbar and menu bar that will show special characters dialog.
|
|
187
187
|
*/
|
|
188
188
|
_createDialogButton(ButtonClass) {
|
|
189
189
|
const editor = this.editor;
|
|
@@ -194,7 +194,8 @@ export default class SpecialCharacters extends Plugin {
|
|
|
194
194
|
const dialogPlugin = this.editor.plugins.get('Dialog');
|
|
195
195
|
buttonView.set({
|
|
196
196
|
label: t('Special characters'),
|
|
197
|
-
icon: specialCharactersIcon
|
|
197
|
+
icon: specialCharactersIcon,
|
|
198
|
+
isToggleable: true
|
|
198
199
|
});
|
|
199
200
|
buttonView.bind('isOn').to(dialogPlugin, 'id', id => id === 'specialCharacters');
|
|
200
201
|
buttonView.bind('isEnabled').to(command, 'isEnabled');
|