@ckeditor/ckeditor5-link 41.4.2 → 42.0.0-alpha.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/README.md +6 -0
- package/build/link.js +1 -1
- package/dist/index.js +634 -531
- package/dist/index.js.map +1 -1
- package/dist/types/utils/manualdecorator.d.ts +1 -1
- package/package.json +3 -3
- package/src/ui/linkformview.js +1 -0
- package/src/utils/manualdecorator.d.ts +1 -1
- package/src/utils/manualdecorator.js +1 -1
|
@@ -21,7 +21,7 @@ declare const ManualDecorator_base: {
|
|
|
21
21
|
* to support integration with the UI state. An instance of this class is a model with the state of individual manual decorators.
|
|
22
22
|
* These decorators are kept as collections in {@link module:link/linkcommand~LinkCommand#manualDecorators}.
|
|
23
23
|
*/
|
|
24
|
-
export default class ManualDecorator extends ManualDecorator_base {
|
|
24
|
+
export default class ManualDecorator extends /* #__PURE__ */ ManualDecorator_base {
|
|
25
25
|
/**
|
|
26
26
|
* An ID of a manual decorator which is the name of the attribute in the model, for example: 'linkManualDecorator0'.
|
|
27
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-link",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "42.0.0-alpha.1",
|
|
4
4
|
"description": "Link feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-ui": "
|
|
17
|
-
"ckeditor5": "
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "42.0.0-alpha.1",
|
|
17
|
+
"ckeditor5": "42.0.0-alpha.1",
|
|
18
18
|
"lodash-es": "4.17.21"
|
|
19
19
|
},
|
|
20
20
|
"author": "CKSource (http://cksource.com/)",
|
package/src/ui/linkformview.js
CHANGED
|
@@ -159,6 +159,7 @@ export default class LinkFormView extends View {
|
|
|
159
159
|
_createUrlInput() {
|
|
160
160
|
const t = this.locale.t;
|
|
161
161
|
const labeledInput = new LabeledFieldView(this.locale, createLabeledInputText);
|
|
162
|
+
labeledInput.fieldView.inputMode = 'url';
|
|
162
163
|
labeledInput.label = t('Link URL');
|
|
163
164
|
return labeledInput;
|
|
164
165
|
}
|
|
@@ -17,7 +17,7 @@ declare const ManualDecorator_base: {
|
|
|
17
17
|
* to support integration with the UI state. An instance of this class is a model with the state of individual manual decorators.
|
|
18
18
|
* These decorators are kept as collections in {@link module:link/linkcommand~LinkCommand#manualDecorators}.
|
|
19
19
|
*/
|
|
20
|
-
export default class ManualDecorator extends ManualDecorator_base {
|
|
20
|
+
export default class ManualDecorator extends /* #__PURE__ */ ManualDecorator_base {
|
|
21
21
|
/**
|
|
22
22
|
* An ID of a manual decorator which is the name of the attribute in the model, for example: 'linkManualDecorator0'.
|
|
23
23
|
*/
|
|
@@ -11,7 +11,7 @@ import { ObservableMixin } from 'ckeditor5/src/utils.js';
|
|
|
11
11
|
* to support integration with the UI state. An instance of this class is a model with the state of individual manual decorators.
|
|
12
12
|
* These decorators are kept as collections in {@link module:link/linkcommand~LinkCommand#manualDecorators}.
|
|
13
13
|
*/
|
|
14
|
-
export default class ManualDecorator extends ObservableMixin() {
|
|
14
|
+
export default class ManualDecorator extends /* #__PURE__ */ ObservableMixin() {
|
|
15
15
|
/**
|
|
16
16
|
* Creates a new instance of {@link module:link/utils/manualdecorator~ManualDecorator}.
|
|
17
17
|
*
|