@ckeditor/ckeditor5-link 34.0.0 → 35.0.0

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +313 -0
  2. package/LICENSE.md +6 -2
  3. package/build/link.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -0
  7. package/build/translations/ca.js +1 -0
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/et.js +1 -1
  10. package/build/translations/fi.js +1 -1
  11. package/build/translations/he.js +1 -1
  12. package/build/translations/id.js +1 -1
  13. package/build/translations/lt.js +1 -1
  14. package/build/translations/lv.js +1 -1
  15. package/build/translations/ms.js +1 -0
  16. package/build/translations/no.js +1 -1
  17. package/build/translations/pt.js +1 -1
  18. package/build/translations/sv.js +1 -1
  19. package/build/translations/th.js +1 -0
  20. package/build/translations/tr.js +1 -1
  21. package/build/translations/ur.js +1 -0
  22. package/lang/translations/ar.po +3 -3
  23. package/lang/translations/bg.po +1 -1
  24. package/lang/translations/bn.po +55 -0
  25. package/lang/translations/ca.po +53 -0
  26. package/lang/translations/da.po +1 -1
  27. package/lang/translations/es.po +1 -1
  28. package/lang/translations/et.po +1 -1
  29. package/lang/translations/fi.po +1 -1
  30. package/lang/translations/fr.po +1 -1
  31. package/lang/translations/he.po +3 -3
  32. package/lang/translations/id.po +1 -1
  33. package/lang/translations/it.po +1 -1
  34. package/lang/translations/lt.po +3 -3
  35. package/lang/translations/lv.po +1 -1
  36. package/lang/translations/ms.po +53 -0
  37. package/lang/translations/no.po +1 -1
  38. package/lang/translations/pt-br.po +1 -1
  39. package/lang/translations/pt.po +7 -7
  40. package/lang/translations/sv.po +3 -3
  41. package/lang/translations/th.po +53 -0
  42. package/lang/translations/tr.po +1 -1
  43. package/lang/translations/ur.po +53 -0
  44. package/package.json +22 -21
  45. package/src/linkediting.js +1 -1
  46. package/build/link.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-link",
3
- "version": "34.0.0",
3
+ "version": "35.0.0",
4
4
  "description": "Link feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,29 +12,29 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-ui": "^34.0.0",
16
- "ckeditor5": "^34.0.0",
15
+ "@ckeditor/ckeditor5-ui": "^35.0.0",
16
+ "ckeditor5": "^35.0.0",
17
17
  "lodash-es": "^4.17.15"
18
18
  },
19
19
  "devDependencies": {
20
- "@ckeditor/ckeditor5-basic-styles": "^34.0.0",
21
- "@ckeditor/ckeditor5-block-quote": "^34.0.0",
22
- "@ckeditor/ckeditor5-clipboard": "^34.0.0",
23
- "@ckeditor/ckeditor5-cloud-services": "^34.0.0",
24
- "@ckeditor/ckeditor5-code-block": "^34.0.0",
25
- "@ckeditor/ckeditor5-core": "^34.0.0",
20
+ "@ckeditor/ckeditor5-basic-styles": "^35.0.0",
21
+ "@ckeditor/ckeditor5-block-quote": "^35.0.0",
22
+ "@ckeditor/ckeditor5-clipboard": "^35.0.0",
23
+ "@ckeditor/ckeditor5-cloud-services": "^35.0.0",
24
+ "@ckeditor/ckeditor5-code-block": "^35.0.0",
25
+ "@ckeditor/ckeditor5-core": "^35.0.0",
26
26
  "@ckeditor/ckeditor5-dev-utils": "^30.0.0",
27
- "@ckeditor/ckeditor5-easy-image": "^34.0.0",
28
- "@ckeditor/ckeditor5-editor-classic": "^34.0.0",
29
- "@ckeditor/ckeditor5-engine": "^34.0.0",
30
- "@ckeditor/ckeditor5-enter": "^34.0.0",
31
- "@ckeditor/ckeditor5-image": "^34.0.0",
32
- "@ckeditor/ckeditor5-paragraph": "^34.0.0",
33
- "@ckeditor/ckeditor5-theme-lark": "^34.0.0",
34
- "@ckeditor/ckeditor5-typing": "^34.0.0",
35
- "@ckeditor/ckeditor5-undo": "^34.0.0",
36
- "@ckeditor/ckeditor5-utils": "^34.0.0",
37
- "@ckeditor/ckeditor5-widget": "^34.0.0",
27
+ "@ckeditor/ckeditor5-easy-image": "^35.0.0",
28
+ "@ckeditor/ckeditor5-editor-classic": "^35.0.0",
29
+ "@ckeditor/ckeditor5-engine": "^35.0.0",
30
+ "@ckeditor/ckeditor5-enter": "^35.0.0",
31
+ "@ckeditor/ckeditor5-image": "^35.0.0",
32
+ "@ckeditor/ckeditor5-paragraph": "^35.0.0",
33
+ "@ckeditor/ckeditor5-theme-lark": "^35.0.0",
34
+ "@ckeditor/ckeditor5-typing": "^35.0.0",
35
+ "@ckeditor/ckeditor5-undo": "^35.0.0",
36
+ "@ckeditor/ckeditor5-utils": "^35.0.0",
37
+ "@ckeditor/ckeditor5-widget": "^35.0.0",
38
38
  "webpack": "^5.58.1",
39
39
  "webpack-cli": "^4.9.0"
40
40
  },
@@ -56,7 +56,8 @@
56
56
  "src",
57
57
  "theme",
58
58
  "build",
59
- "ckeditor5-metadata.json"
59
+ "ckeditor5-metadata.json",
60
+ "CHANGELOG.md"
60
61
  ],
61
62
  "scripts": {
62
63
  "dll:build": "webpack"
@@ -195,7 +195,7 @@ export default class LinkEditing extends Plugin {
195
195
  model: decorator.id,
196
196
  view: ( manualDecoratorValue, { writer, schema }, { item } ) => {
197
197
  // Manual decorators for block links are handled e.g. in LinkImageEditing.
198
- if ( !schema.isInline( item ) ) {
198
+ if ( !( item.is( 'selection' ) || schema.isInline( item ) ) ) {
199
199
  return;
200
200
  }
201
201