@ckeditor/ckeditor5-font 47.7.1 → 47.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-font",
3
- "version": "47.7.1",
3
+ "version": "47.7.2",
4
4
  "description": "Font feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,12 +13,12 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "47.7.1",
17
- "@ckeditor/ckeditor5-engine": "47.7.1",
18
- "@ckeditor/ckeditor5-icons": "47.7.1",
19
- "@ckeditor/ckeditor5-ui": "47.7.1",
20
- "@ckeditor/ckeditor5-utils": "47.7.1",
21
- "ckeditor5": "47.7.1"
16
+ "@ckeditor/ckeditor5-core": "47.7.2",
17
+ "@ckeditor/ckeditor5-engine": "47.7.2",
18
+ "@ckeditor/ckeditor5-icons": "47.7.2",
19
+ "@ckeditor/ckeditor5-ui": "47.7.2",
20
+ "@ckeditor/ckeditor5-utils": "47.7.2",
21
+ "ckeditor5": "47.7.2"
22
22
  },
23
23
  "author": "CKSource (http://cksource.com/)",
24
24
  "license": "SEE LICENSE IN LICENSE.md",
@@ -121,7 +121,7 @@ function generatePixelPreset(definition) {
121
121
  return attachPriority(definition);
122
122
  }
123
123
  /**
124
- * Adds the priority to the view element definition if missing. It's required due to ckeditor/ckeditor5#2291
124
+ * Adds the priority to the view element definition if missing. It's required due to https://github.com/ckeditor/ckeditor5/issues/2291
125
125
  */
126
126
  function attachPriority(definition) {
127
127
  if (definition.view && typeof definition.view !== 'string' && !definition.view.priority) {
package/src/ui/colorui.js CHANGED
@@ -72,7 +72,8 @@ export class FontColorUIBase extends Plugin {
72
72
  // Register the UI component.
73
73
  editor.ui.componentFactory.add(this.componentName, locale => {
74
74
  const dropdownView = createDropdown(locale);
75
- // Font color dropdown rendering is deferred once it gets open to improve performance (#6192).
75
+ // Font color dropdown rendering is deferred once it gets open to improve performance.
76
+ // See https://github.com/ckeditor/ckeditor5/issues/6192.
76
77
  let dropdownContentRendered = false;
77
78
  const colorSelectorView = addColorSelectorToDropdown({
78
79
  dropdownView,
@@ -155,7 +156,8 @@ export class FontColorUIBase extends Plugin {
155
156
  icon: this.icon
156
157
  });
157
158
  menuView.bind('isEnabled').to(command);
158
- // Font color sub-menu rendering is deferred once it gets open to improve performance (#6192).
159
+ // Font color sub-menu rendering is deferred once it gets open to improve performance.
160
+ // See https://github.com/ckeditor/ckeditor5/issues/6192.
159
161
  let contentRendered = false;
160
162
  const colorSelectorView = new ColorSelectorView(locale, {
161
163
  colors: localizedColors.map(option => ({