@ckeditor/ckeditor5-bookmark 0.0.0-nightly-20241028.4 → 0.0.0-nightly-20241029.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/build/bookmark.js +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/bookmarkediting.js +1 -2
- package/src/bookmarkui.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-bookmark",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20241029.0",
|
|
4
4
|
"description": "Bookmark feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"ckeditor5": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
16
|
+
"ckeditor5": "0.0.0-nightly-20241029.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20241029.0",
|
|
18
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20241029.0",
|
|
19
|
+
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-20241029.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20241029.0",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20241029.0"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
|
24
24
|
"license": "GPL-2.0-or-later",
|
package/src/bookmarkediting.js
CHANGED
|
@@ -11,7 +11,6 @@ import { IconView } from 'ckeditor5/src/ui.js';
|
|
|
11
11
|
import InsertBookmarkCommand from './insertbookmarkcommand.js';
|
|
12
12
|
import UpdateBookmarkCommand from './updatebookmarkcommand.js';
|
|
13
13
|
import '../theme/bookmark.css';
|
|
14
|
-
const bookmarkIcon = icons.bookmarkInline;
|
|
15
14
|
/**
|
|
16
15
|
* The bookmark editing plugin.
|
|
17
16
|
*/
|
|
@@ -120,7 +119,7 @@ export default class BookmarkEditing extends Plugin {
|
|
|
120
119
|
const domElement = this.toDomElement(domDocument);
|
|
121
120
|
const icon = new IconView();
|
|
122
121
|
icon.set({
|
|
123
|
-
content:
|
|
122
|
+
content: icons.bookmarkInline,
|
|
124
123
|
isColorInherited: false
|
|
125
124
|
});
|
|
126
125
|
icon.render();
|
package/src/bookmarkui.js
CHANGED
|
@@ -11,7 +11,6 @@ import { ClickObserver } from 'ckeditor5/src/engine.js';
|
|
|
11
11
|
import BookmarkFormView from './ui/bookmarkformview.js';
|
|
12
12
|
import BookmarkActionsView from './ui/bookmarkactionsview.js';
|
|
13
13
|
import BookmarkEditing from './bookmarkediting.js';
|
|
14
|
-
const bookmarkIcon = icons.bookmark;
|
|
15
14
|
const VISUAL_SELECTION_MARKER_NAME = 'bookmark-ui';
|
|
16
15
|
/**
|
|
17
16
|
* The UI plugin of the bookmark feature.
|
|
@@ -196,7 +195,7 @@ export default class BookmarkUI extends Plugin {
|
|
|
196
195
|
const t = locale.t;
|
|
197
196
|
view.set({
|
|
198
197
|
label: t('Bookmark'),
|
|
199
|
-
icon:
|
|
198
|
+
icon: icons.bookmark
|
|
200
199
|
});
|
|
201
200
|
// Execute the command.
|
|
202
201
|
this.listenTo(view, 'execute', () => this._showUI(true));
|