@ckeditor/ckeditor5-clipboard 41.2.0 → 41.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-clipboard",
3
- "version": "41.2.0",
3
+ "version": "41.2.1",
4
4
  "description": "Clipboard integration 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": "41.2.0",
17
- "@ckeditor/ckeditor5-engine": "41.2.0",
18
- "@ckeditor/ckeditor5-ui": "41.2.0",
19
- "@ckeditor/ckeditor5-utils": "41.2.0",
20
- "@ckeditor/ckeditor5-widget": "41.2.0",
16
+ "@ckeditor/ckeditor5-core": "41.2.1",
17
+ "@ckeditor/ckeditor5-engine": "41.2.1",
18
+ "@ckeditor/ckeditor5-ui": "41.2.1",
19
+ "@ckeditor/ckeditor5-utils": "41.2.1",
20
+ "@ckeditor/ckeditor5-widget": "41.2.1",
21
21
  "lodash-es": "4.17.21"
22
22
  },
23
23
  "author": "CKSource (http://cksource.com/)",
@@ -207,7 +207,8 @@ export default class ClipboardMarkersUtils extends Plugin {
207
207
  const markers = Array.from(fragment.markers);
208
208
  fragment.markers.clear();
209
209
  for (const [name, range] of markers) {
210
- fragment.markers.set(this._getUniqueMarkerName(name), range);
210
+ const newName = this._canPerformMarkerClipboardAction(name, null) ? this._getUniqueMarkerName(name) : name;
211
+ fragment.markers.set(newName, range);
211
212
  }
212
213
  }
213
214
  /**