@ckeditor/ckeditor5-mention 34.2.0 → 35.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md ADDED
@@ -0,0 +1,97 @@
1
+ Changelog
2
+ =========
3
+
4
+ All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
+
6
+ Changes for the past releases are available below.
7
+
8
+ ## [19.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v18.0.0...v19.0.0) (2020-04-29)
9
+
10
+ ### Bug fixes
11
+
12
+ * Mention UI is no longer appearing when mention command is disabled. Closes [ckeditor/ckeditor5#5958](https://github.com/ckeditor/ckeditor5/issues/5958). ([eca1e48](https://github.com/ckeditor/ckeditor5-mention/commit/eca1e48))
13
+ * Mentions can now be matched by any character typed. Closes [ckeditor/ckeditor5#6398](https://github.com/ckeditor/ckeditor5/issues/6398). ([aa7d04d](https://github.com/ckeditor/ckeditor5-mention/commit/aa7d04d))
14
+
15
+
16
+ ## [18.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v17.0.0...v18.0.0) (2020-03-19)
17
+
18
+ Internal changes only (updated dependencies, documentation, etc.).
19
+
20
+
21
+ ## [17.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v16.0.0...v17.0.0) (2020-02-19)
22
+
23
+ ### Features
24
+
25
+ * Implemented debounced mechanism for requesting a mention feed. Closes [ckeditor/ckeditor5#4619](https://github.com/ckeditor/ckeditor5/issues/4619). ([f50db9c](https://github.com/ckeditor/ckeditor5-mention/commit/f50db9c))
26
+
27
+
28
+ ## [16.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v15.0.0...v16.0.0) (2019-12-04)
29
+
30
+ Internal changes only (updated dependencies, documentation, etc.).
31
+
32
+
33
+ ## [15.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v13.0.0...v15.0.0) (2019-10-23)
34
+
35
+ ### Other changes
36
+
37
+ * Bind the `feed` callback function to the editor instance. ([0ba40a9](https://github.com/ckeditor/ckeditor5-mention/commit/0ba40a9))
38
+
39
+ Thanks [@oliverguenther](https://github.com/oliverguenther) for the contribution!
40
+
41
+
42
+ ## [13.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v12.0.1...v13.0.0) (2019-08-26)
43
+
44
+ ### Other changes
45
+
46
+ * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([2a33675](https://github.com/ckeditor/ckeditor5-mention/commit/2a33675))
47
+ * Use RegExp Unicode support feature detection form ckeditor5-utils. ([d47923e](https://github.com/ckeditor/ckeditor5-mention/commit/d47923e))
48
+
49
+ ### BREAKING CHANGES
50
+
51
+ * The `mention/featuredetection` namespace is removed. Please use `env.features` from ckeditor5-utils instead.
52
+
53
+
54
+ ## [12.0.1](https://github.com/ckeditor/ckeditor5-mention/compare/v12.0.0...v12.0.1) (2019-07-10)
55
+
56
+ Internal changes only (updated dependencies, documentation, etc.).
57
+
58
+
59
+ ## [12.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v11.0.0...v12.0.0) (2019-07-04)
60
+
61
+ ### Bug fixes
62
+
63
+ * It should be possible to type before a mention which is at the beginning of a block. Closes [#77](https://github.com/ckeditor/ckeditor5-mention/issues/77). ([946e762](https://github.com/ckeditor/ckeditor5-mention/commit/946e762))
64
+ * Mentions should work when different UTF character classes are used in the feed configuration. Closes [#38](https://github.com/ckeditor/ckeditor5-mention/issues/38). ([764f099](https://github.com/ckeditor/ckeditor5-mention/commit/764f099))
65
+ * Partial mentions should not be downcasted (e.g. not copied to clipboard). Closes [#24](https://github.com/ckeditor/ckeditor5-mention/issues/24). ([8956b1f](https://github.com/ckeditor/ckeditor5-mention/commit/8956b1f))
66
+
67
+ ### Other changes
68
+
69
+ * Moved the `TextWatcher` util to `@ckeditor/ckeditor5-typing`. ([a644043](https://github.com/ckeditor/ckeditor5-mention/commit/a644043))
70
+
71
+ ### BREAKING CHANGES
72
+
73
+ * The `TextWatcher` util was moved to `@ckeditor/ckeditor5-typing`.
74
+
75
+
76
+ ## [11.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v10.0.0...v11.0.0) (2019-06-05)
77
+
78
+ ### Bug fixes
79
+
80
+ * A mention can now be preceded by characters such as brackets, quotes, soft break, etc. Closes [#44](https://github.com/ckeditor/ckeditor5-mention/issues/44). ([86262d1](https://github.com/ckeditor/ckeditor5-mention/commit/86262d1))
81
+ * The mention plugin should not throw errors when another `ContextualBalloon` is already visible. Closes [#67](https://github.com/ckeditor/ckeditor5-mention/issues/67). ([de9ee71](https://github.com/ckeditor/ckeditor5-mention/commit/de9ee71))
82
+ * The mention panel should have precedence over all other panels. Closes [#74](https://github.com/ckeditor/ckeditor5-mention/issues/74). ([3e8a84c](https://github.com/ckeditor/ckeditor5-mention/commit/3e8a84c))
83
+ * The Mention UI will use `ContextualBalloon` plugin to display to prevent balloon collisions with other features. Closes [#27](https://github.com/ckeditor/ckeditor5-mention/issues/27). ([9ae7f30](https://github.com/ckeditor/ckeditor5-mention/commit/9ae7f30))
84
+
85
+ ### Other changes
86
+
87
+ * Remove unknown stack option from `ContextualBalloon#add()` method call. ([b6a50cf](https://github.com/ckeditor/ckeditor5-mention/commit/b6a50cf))
88
+ * Use `Model#insertContent()` instead of `model.Writer#insertText()`. Closes [#69](https://github.com/ckeditor/ckeditor5-mention/issues/69). ([ee973bb](https://github.com/ckeditor/ckeditor5-mention/commit/ee973bb))
89
+
90
+ ### BREAKING CHANGES
91
+
92
+ * The `MentionUI#panelView` property is removed. The mention feature now uses the `ContextualBalloon` plugin.
93
+
94
+
95
+ ## [10.0.0](https://github.com/ckeditor/ckeditor5-mention/tree/v10.0.0) (2019-04-10)
96
+
97
+ The initial release.
package/LICENSE.md CHANGED
@@ -11,6 +11,10 @@ Sources of Intellectual Property Included in CKEditor
11
11
 
12
12
  Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
13
13
 
14
+ The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
15
+
16
+ * lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
17
+
14
18
  Trademarks
15
19
  ----------
16
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-mention",
3
- "version": "34.2.0",
3
+ "version": "35.0.0",
4
4
  "description": "Mention feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,28 +12,28 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^34.2.0",
15
+ "ckeditor5": "^35.0.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^34.2.0",
20
- "@ckeditor/ckeditor5-block-quote": "^34.2.0",
21
- "@ckeditor/ckeditor5-clipboard": "^34.2.0",
22
- "@ckeditor/ckeditor5-cloud-services": "^34.2.0",
23
- "@ckeditor/ckeditor5-core": "^34.2.0",
19
+ "@ckeditor/ckeditor5-basic-styles": "^35.0.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^35.0.0",
21
+ "@ckeditor/ckeditor5-clipboard": "^35.0.0",
22
+ "@ckeditor/ckeditor5-cloud-services": "^35.0.0",
23
+ "@ckeditor/ckeditor5-core": "^35.0.0",
24
24
  "@ckeditor/ckeditor5-dev-utils": "^30.0.0",
25
- "@ckeditor/ckeditor5-editor-classic": "^34.2.0",
26
- "@ckeditor/ckeditor5-engine": "^34.2.0",
27
- "@ckeditor/ckeditor5-font": "^34.2.0",
28
- "@ckeditor/ckeditor5-link": "^34.2.0",
29
- "@ckeditor/ckeditor5-paragraph": "^34.2.0",
30
- "@ckeditor/ckeditor5-table": "^34.2.0",
31
- "@ckeditor/ckeditor5-theme-lark": "^34.2.0",
32
- "@ckeditor/ckeditor5-typing": "^34.2.0",
33
- "@ckeditor/ckeditor5-ui": "^34.2.0",
34
- "@ckeditor/ckeditor5-undo": "^34.2.0",
35
- "@ckeditor/ckeditor5-utils": "^34.2.0",
36
- "@ckeditor/ckeditor5-widget": "^34.2.0",
25
+ "@ckeditor/ckeditor5-editor-classic": "^35.0.0",
26
+ "@ckeditor/ckeditor5-engine": "^35.0.0",
27
+ "@ckeditor/ckeditor5-font": "^35.0.0",
28
+ "@ckeditor/ckeditor5-link": "^35.0.0",
29
+ "@ckeditor/ckeditor5-paragraph": "^35.0.0",
30
+ "@ckeditor/ckeditor5-table": "^35.0.0",
31
+ "@ckeditor/ckeditor5-theme-lark": "^35.0.0",
32
+ "@ckeditor/ckeditor5-typing": "^35.0.0",
33
+ "@ckeditor/ckeditor5-ui": "^35.0.0",
34
+ "@ckeditor/ckeditor5-undo": "^35.0.0",
35
+ "@ckeditor/ckeditor5-utils": "^35.0.0",
36
+ "@ckeditor/ckeditor5-widget": "^35.0.0",
37
37
  "lodash": "^4.17.15",
38
38
  "webpack": "^5.58.1",
39
39
  "webpack-cli": "^4.9.0"
@@ -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"
@@ -30,7 +30,7 @@ import { _addMentionAttributes } from './mentionediting';
30
30
  * name: 'Foo',
31
31
  * title: 'Big Foo'
32
32
  * },
33
- * range: editor.model.createRange( focus, focus.getShiftedBy( -1 ) )
33
+ * range: editor.model.createRange( focus.getShiftedBy( -1 ), focus )
34
34
  * } );
35
35
  *
36
36
  * // It will replace one character before the selection focus with the 'The "Big Foo"' text
@@ -43,7 +43,7 @@ import { _addMentionAttributes } from './mentionediting';
43
43
  * title: 'Big Foo'
44
44
  * },
45
45
  * text: 'The "Big Foo"',
46
- * range: editor.model.createRange( focus, focus.getShiftedBy( -1 ) )
46
+ * range: editor.model.createRange( focus.getShiftedBy( -1 ), focus )
47
47
  * } );
48
48
  *
49
49
  * @extends module:core/command~Command