@ckeditor/ckeditor5-bookmark 0.0.0-nightly-20241216.0 → 0.0.0-nightly-20241218.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.
- package/dist/index.js +222 -246
- package/dist/index.js.map +1 -1
- package/package.json +27 -8
- package/dist/augmentation.d.ts +0 -28
- package/dist/bookmark.d.ts +0 -34
- package/dist/bookmarkconfig.d.ts +0 -52
- package/dist/bookmarkediting.d.ts +0 -55
- package/dist/bookmarkui.d.ts +0 -170
- package/dist/index.d.ts +0 -18
- package/dist/insertbookmarkcommand.d.ts +0 -42
- package/dist/ui/bookmarkactionsview.d.ts +0 -106
- package/dist/ui/bookmarkformview.d.ts +0 -122
- package/dist/updatebookmarkcommand.d.ts +0 -46
- package/dist/utils.d.ts +0 -15
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module bookmark/updatebookmarkcommand
|
|
11
|
-
*/
|
|
12
|
-
import { Command } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* The update bookmark command.
|
|
15
|
-
*
|
|
16
|
-
* The command is registered by {@link module:bookmark/bookmarkediting~BookmarkEditing} as `'updateBookmark'`.
|
|
17
|
-
*
|
|
18
|
-
* To update the `bookmarkId` of current selected bookmark element, execute the command passing the bookmark id as a parameter:
|
|
19
|
-
*
|
|
20
|
-
* ```ts
|
|
21
|
-
* editor.execute( 'updateBookmark', { bookmarkId: 'newId' } );
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export default class UpdateBookmarkCommand extends Command {
|
|
25
|
-
/**
|
|
26
|
-
* The value of the `'bookmarkId'` attribute.
|
|
27
|
-
*
|
|
28
|
-
* @observable
|
|
29
|
-
* @readonly
|
|
30
|
-
*/
|
|
31
|
-
value: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* @inheritDoc
|
|
34
|
-
*/
|
|
35
|
-
refresh(): void;
|
|
36
|
-
/**
|
|
37
|
-
* Executes the command.
|
|
38
|
-
*
|
|
39
|
-
* @fires execute
|
|
40
|
-
* @param options Command options.
|
|
41
|
-
* @param options.bookmarkId The new value of the `bookmarkId` attribute to set.
|
|
42
|
-
*/
|
|
43
|
-
execute(options: {
|
|
44
|
-
bookmarkId: string;
|
|
45
|
-
}): void;
|
|
46
|
-
}
|
package/dist/utils.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module bookmark/utils
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Returns `true` if the bookmark id is valid; otherwise, returns `false`.
|
|
14
|
-
*/
|
|
15
|
-
export declare function isBookmarkIdValid(id: string): boolean;
|