@ckeditor/ckeditor5-bookmark 0.0.1 → 44.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +4 -5
- package/README.md +31 -3
- package/build/bookmark.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +24 -0
- package/dist/augmentation.d.ts +28 -0
- package/dist/bookmark.d.ts +34 -0
- package/dist/bookmarkconfig.d.ts +52 -0
- package/dist/bookmarkediting.d.ts +55 -0
- package/dist/bookmarkui.d.ts +170 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +150 -0
- package/dist/index.css +195 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1320 -0
- package/dist/index.js.map +1 -0
- package/dist/insertbookmarkcommand.d.ts +42 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +5 -0
- package/dist/translations/af.umd.js +11 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/ar.umd.js +11 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/az.umd.js +11 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bg.umd.js +11 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/bn.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/ca.umd.js +11 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/cs.umd.js +11 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/da.umd.js +11 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de-ch.umd.js +11 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/de.umd.js +11 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/el.umd.js +11 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-au.umd.js +11 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/en.umd.js +11 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/es.umd.js +11 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/et.umd.js +11 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fa.umd.js +11 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fi.umd.js +11 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/fr.umd.js +11 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/gl.umd.js +11 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +5 -0
- package/dist/translations/gu.umd.js +11 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +5 -0
- package/dist/translations/he.umd.js +11 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +5 -0
- package/dist/translations/hi.umd.js +11 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +5 -0
- package/dist/translations/hr.umd.js +11 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +5 -0
- package/dist/translations/hu.umd.js +11 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +5 -0
- package/dist/translations/hy.umd.js +11 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +5 -0
- package/dist/translations/id.umd.js +11 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +5 -0
- package/dist/translations/it.umd.js +11 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +5 -0
- package/dist/translations/ja.umd.js +11 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +5 -0
- package/dist/translations/jv.umd.js +11 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +5 -0
- package/dist/translations/kk.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ko.umd.js +11 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/ku.umd.js +11 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lt.umd.js +11 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/lv.umd.js +11 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ms.umd.js +11 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/nl.umd.js +11 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/no.umd.js +11 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +5 -0
- package/dist/translations/oc.umd.js +11 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pl.umd.js +11 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt-br.umd.js +11 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/pt.umd.js +11 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ro.umd.js +11 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/ru.umd.js +11 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +5 -0
- package/dist/translations/si.umd.js +11 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +5 -0
- package/dist/translations/sl.umd.js +11 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +5 -0
- package/dist/translations/sq.umd.js +11 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +5 -0
- package/dist/translations/sr-latn.umd.js +11 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +5 -0
- package/dist/translations/sr.umd.js +11 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +5 -0
- package/dist/translations/sv.umd.js +11 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +5 -0
- package/dist/translations/th.umd.js +11 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tk.umd.js +11 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/tr.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/uk.umd.js +11 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/ur.umd.js +11 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/uz.umd.js +11 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/vi.umd.js +11 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh-cn.umd.js +11 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/translations/zh.umd.js +11 -0
- package/dist/ui/bookmarkactionsview.d.ts +106 -0
- package/dist/ui/bookmarkformview.d.ts +122 -0
- package/dist/updatebookmarkcommand.d.ts +46 -0
- package/dist/utils.d.ts +15 -0
- package/lang/contexts.json +13 -0
- package/lang/translations/af.po +56 -0
- package/lang/translations/ar.po +56 -0
- package/lang/translations/ast.po +56 -0
- package/lang/translations/az.po +56 -0
- package/lang/translations/bg.po +56 -0
- package/lang/translations/bn.po +56 -0
- package/lang/translations/bs.po +56 -0
- package/lang/translations/ca.po +56 -0
- package/lang/translations/cs.po +56 -0
- package/lang/translations/da.po +56 -0
- package/lang/translations/de-ch.po +56 -0
- package/lang/translations/de.po +56 -0
- package/lang/translations/el.po +56 -0
- package/lang/translations/en-au.po +56 -0
- package/lang/translations/en-gb.po +56 -0
- package/lang/translations/en.po +56 -0
- package/lang/translations/eo.po +56 -0
- package/lang/translations/es-co.po +56 -0
- package/lang/translations/es.po +56 -0
- package/lang/translations/et.po +56 -0
- package/lang/translations/eu.po +56 -0
- package/lang/translations/fa.po +56 -0
- package/lang/translations/fi.po +56 -0
- package/lang/translations/fr.po +56 -0
- package/lang/translations/gl.po +56 -0
- package/lang/translations/gu.po +56 -0
- package/lang/translations/he.po +56 -0
- package/lang/translations/hi.po +56 -0
- package/lang/translations/hr.po +56 -0
- package/lang/translations/hu.po +56 -0
- package/lang/translations/hy.po +56 -0
- package/lang/translations/id.po +56 -0
- package/lang/translations/it.po +56 -0
- package/lang/translations/ja.po +56 -0
- package/lang/translations/jv.po +56 -0
- package/lang/translations/kk.po +56 -0
- package/lang/translations/km.po +56 -0
- package/lang/translations/kn.po +56 -0
- package/lang/translations/ko.po +56 -0
- package/lang/translations/ku.po +56 -0
- package/lang/translations/lt.po +56 -0
- package/lang/translations/lv.po +56 -0
- package/lang/translations/ms.po +56 -0
- package/lang/translations/nb.po +56 -0
- package/lang/translations/ne.po +56 -0
- package/lang/translations/nl.po +56 -0
- package/lang/translations/no.po +56 -0
- package/lang/translations/oc.po +56 -0
- package/lang/translations/pl.po +56 -0
- package/lang/translations/pt-br.po +56 -0
- package/lang/translations/pt.po +56 -0
- package/lang/translations/ro.po +56 -0
- package/lang/translations/ru.po +56 -0
- package/lang/translations/si.po +56 -0
- package/lang/translations/sk.po +56 -0
- package/lang/translations/sl.po +56 -0
- package/lang/translations/sq.po +56 -0
- package/lang/translations/sr-latn.po +56 -0
- package/lang/translations/sr.po +56 -0
- package/lang/translations/sv.po +56 -0
- package/lang/translations/th.po +56 -0
- package/lang/translations/ti.po +56 -0
- package/lang/translations/tk.po +56 -0
- package/lang/translations/tr.po +56 -0
- package/lang/translations/tt.po +56 -0
- package/lang/translations/ug.po +56 -0
- package/lang/translations/uk.po +56 -0
- package/lang/translations/ur.po +56 -0
- package/lang/translations/uz.po +56 -0
- package/lang/translations/vi.po +56 -0
- package/lang/translations/zh-cn.po +56 -0
- package/lang/translations/zh.po +56 -0
- package/package.json +32 -3
- package/src/augmentation.d.ts +24 -0
- package/src/augmentation.js +5 -0
- package/src/bookmark.d.ts +30 -0
- package/src/bookmark.js +36 -0
- package/src/bookmarkconfig.d.ts +48 -0
- package/src/bookmarkconfig.js +5 -0
- package/src/bookmarkediting.d.ts +51 -0
- package/src/bookmarkediting.js +211 -0
- package/src/bookmarkui.d.ts +166 -0
- package/src/bookmarkui.js +582 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +13 -0
- package/src/insertbookmarkcommand.d.ts +38 -0
- package/src/insertbookmarkcommand.js +113 -0
- package/src/ui/bookmarkactionsview.d.ts +102 -0
- package/src/ui/bookmarkactionsview.js +154 -0
- package/src/ui/bookmarkformview.d.ts +118 -0
- package/src/ui/bookmarkformview.js +203 -0
- package/src/updatebookmarkcommand.d.ts +42 -0
- package/src/updatebookmarkcommand.js +75 -0
- package/src/utils.d.ts +11 -0
- package/src/utils.js +19 -0
- package/theme/bookmark.css +50 -0
- package/theme/bookmarkactions.css +44 -0
- package/theme/bookmarkform.css +42 -0
@@ -0,0 +1,52 @@
|
|
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-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module bookmark/bookmarkconfig
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* The configuration of the bookmark feature.
|
14
|
+
*
|
15
|
+
* The properties defined in this config are set in the `config.bookmark` namespace.
|
16
|
+
*
|
17
|
+
* ```ts
|
18
|
+
* ClassicEditor
|
19
|
+
* .create( editorElement, {
|
20
|
+
* bookmark: {
|
21
|
+
* // Bookmark configuration.
|
22
|
+
* }
|
23
|
+
* } )
|
24
|
+
* .then( ... )
|
25
|
+
* .catch( ... );
|
26
|
+
* ```
|
27
|
+
*
|
28
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
29
|
+
*/
|
30
|
+
export interface BookmarkConfig {
|
31
|
+
/**
|
32
|
+
* Allows to convert into bookmarks non-empty anchor elements.
|
33
|
+
*
|
34
|
+
* With this option enabled you will have all non-empty anchors converted into bookmakrs.
|
35
|
+
* For example:
|
36
|
+
*
|
37
|
+
*```html
|
38
|
+
* <a id="bookmark">Bookmark</a>
|
39
|
+
*```
|
40
|
+
*
|
41
|
+
* will be converted into:
|
42
|
+
*
|
43
|
+
*```html
|
44
|
+
* <a id="bookmark"></a>Bookmark
|
45
|
+
*```
|
46
|
+
*
|
47
|
+
* **Note:** This is enabled by default.
|
48
|
+
*
|
49
|
+
* @default true
|
50
|
+
*/
|
51
|
+
enableNonEmptyAnchorConversion?: boolean;
|
52
|
+
}
|
@@ -0,0 +1,55 @@
|
|
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-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module bookmark/bookmarkediting
|
11
|
+
*/
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
13
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
14
|
+
import '../theme/bookmark.css';
|
15
|
+
/**
|
16
|
+
* The bookmark editing plugin.
|
17
|
+
*/
|
18
|
+
export default class BookmarkEditing extends Plugin {
|
19
|
+
/**
|
20
|
+
* A collection of bookmarks elements in the document.
|
21
|
+
*/
|
22
|
+
private _bookmarkElements;
|
23
|
+
/**
|
24
|
+
* @inheritDoc
|
25
|
+
*/
|
26
|
+
static get pluginName(): "BookmarkEditing";
|
27
|
+
/**
|
28
|
+
* @inheritDoc
|
29
|
+
*/
|
30
|
+
static get isOfficialPlugin(): true;
|
31
|
+
/**
|
32
|
+
* @inheritDoc
|
33
|
+
*/
|
34
|
+
init(): void;
|
35
|
+
/**
|
36
|
+
* Returns the model element for the given bookmark ID if it exists.
|
37
|
+
*/
|
38
|
+
getElementForBookmarkId(bookmarkId: string): Element | null;
|
39
|
+
/**
|
40
|
+
* Defines the schema for the bookmark feature.
|
41
|
+
*/
|
42
|
+
private _defineSchema;
|
43
|
+
/**
|
44
|
+
* Defines the converters for the bookmark feature.
|
45
|
+
*/
|
46
|
+
private _defineConverters;
|
47
|
+
/**
|
48
|
+
* Creates a UI element for the `bookmark` representation in editing view.
|
49
|
+
*/
|
50
|
+
private _createBookmarkUIElement;
|
51
|
+
/**
|
52
|
+
* Tracking the added or removed bookmark elements.
|
53
|
+
*/
|
54
|
+
private _trackBookmarkElements;
|
55
|
+
}
|
@@ -0,0 +1,170 @@
|
|
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-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module bookmark/bookmarkui
|
11
|
+
*/
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
13
|
+
import { ContextualBalloon, type ViewWithCssTransitionDisabler } from 'ckeditor5/src/ui.js';
|
14
|
+
import BookmarkFormView from './ui/bookmarkformview.js';
|
15
|
+
import BookmarkActionsView from './ui/bookmarkactionsview.js';
|
16
|
+
import BookmarkEditing from './bookmarkediting.js';
|
17
|
+
/**
|
18
|
+
* The UI plugin of the bookmark feature.
|
19
|
+
*
|
20
|
+
* It registers the `'bookmark'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
|
21
|
+
* which inserts the `bookmark` element upon selection.
|
22
|
+
*/
|
23
|
+
export default class BookmarkUI extends Plugin {
|
24
|
+
/**
|
25
|
+
* The actions view displayed inside of the balloon.
|
26
|
+
*/
|
27
|
+
actionsView: BookmarkActionsView | null;
|
28
|
+
/**
|
29
|
+
* The form view displayed inside the balloon.
|
30
|
+
*/
|
31
|
+
formView: BookmarkFormView & ViewWithCssTransitionDisabler | null;
|
32
|
+
/**
|
33
|
+
* The contextual balloon plugin instance.
|
34
|
+
*/
|
35
|
+
private _balloon;
|
36
|
+
/**
|
37
|
+
* @inheritDoc
|
38
|
+
*/
|
39
|
+
static get requires(): readonly [typeof BookmarkEditing, typeof ContextualBalloon];
|
40
|
+
/**
|
41
|
+
* @inheritDoc
|
42
|
+
*/
|
43
|
+
static get pluginName(): "BookmarkUI";
|
44
|
+
/**
|
45
|
+
* @inheritDoc
|
46
|
+
*/
|
47
|
+
static get isOfficialPlugin(): true;
|
48
|
+
/**
|
49
|
+
* @inheritDoc
|
50
|
+
*/
|
51
|
+
init(): void;
|
52
|
+
/**
|
53
|
+
* @inheritDoc
|
54
|
+
*/
|
55
|
+
destroy(): void;
|
56
|
+
/**
|
57
|
+
* Creates views.
|
58
|
+
*/
|
59
|
+
private _createViews;
|
60
|
+
/**
|
61
|
+
* Creates the {@link module:bookmark/ui/bookmarkactionsview~BookmarkActionsView} instance.
|
62
|
+
*/
|
63
|
+
private _createActionsView;
|
64
|
+
/**
|
65
|
+
* Creates the {@link module:bookmark/ui/bookmarkformview~BookmarkFormView} instance.
|
66
|
+
*/
|
67
|
+
private _createFormView;
|
68
|
+
/**
|
69
|
+
* Creates a toolbar Bookmark button. Clicking this button will show
|
70
|
+
* a {@link #_balloon} attached to the selection.
|
71
|
+
*/
|
72
|
+
private _createToolbarBookmarkButton;
|
73
|
+
/**
|
74
|
+
* Creates a button for `bookmark` command to use either in toolbar or in menu bar.
|
75
|
+
*/
|
76
|
+
private _createButton;
|
77
|
+
/**
|
78
|
+
* Attaches actions that control whether the balloon panel containing the
|
79
|
+
* {@link #formView} should be displayed.
|
80
|
+
*/
|
81
|
+
private _enableBalloonActivators;
|
82
|
+
/**
|
83
|
+
* Attaches actions that control whether the balloon panel containing the
|
84
|
+
* {@link #formView} is visible or not.
|
85
|
+
*/
|
86
|
+
private _enableUserBalloonInteractions;
|
87
|
+
/**
|
88
|
+
* Updates the button label. If bookmark is selected label is set to 'Update' otherwise
|
89
|
+
* it is 'Insert'.
|
90
|
+
*/
|
91
|
+
private _updateFormButtonLabel;
|
92
|
+
/**
|
93
|
+
* Adds the {@link #actionsView} to the {@link #_balloon}.
|
94
|
+
*
|
95
|
+
* @internal
|
96
|
+
*/
|
97
|
+
_addActionsView(): void;
|
98
|
+
/**
|
99
|
+
* Adds the {@link #formView} to the {@link #_balloon}.
|
100
|
+
*/
|
101
|
+
private _addFormView;
|
102
|
+
/**
|
103
|
+
* Closes the form view. Decides whether the balloon should be hidden completely.
|
104
|
+
*/
|
105
|
+
private _closeFormView;
|
106
|
+
/**
|
107
|
+
* Removes the {@link #formView} from the {@link #_balloon}.
|
108
|
+
*/
|
109
|
+
private _removeFormView;
|
110
|
+
/**
|
111
|
+
* Shows the correct UI type. It is either {@link #formView} or {@link #actionsView}.
|
112
|
+
*/
|
113
|
+
private _showUI;
|
114
|
+
/**
|
115
|
+
* Removes the {@link #formView} from the {@link #_balloon}.
|
116
|
+
*
|
117
|
+
* See {@link #_addFormView}, {@link #_addActionsView}.
|
118
|
+
*/
|
119
|
+
private _hideUI;
|
120
|
+
/**
|
121
|
+
* Makes the UI react to the {@link module:ui/editorui/editorui~EditorUI#event:update} event to
|
122
|
+
* reposition itself when the editor UI should be refreshed.
|
123
|
+
*
|
124
|
+
* See: {@link #_hideUI} to learn when the UI stops reacting to the `update` event.
|
125
|
+
*/
|
126
|
+
private _startUpdatingUI;
|
127
|
+
/**
|
128
|
+
* Returns `true` when {@link #formView} is in the {@link #_balloon}.
|
129
|
+
*/
|
130
|
+
private get _isFormInPanel();
|
131
|
+
/**
|
132
|
+
* Returns `true` when {@link #actionsView} is in the {@link #_balloon}.
|
133
|
+
*/
|
134
|
+
private get _areActionsInPanel();
|
135
|
+
/**
|
136
|
+
* Returns `true` when {@link #actionsView} is in the {@link #_balloon} and it is
|
137
|
+
* currently visible.
|
138
|
+
*/
|
139
|
+
private get _areActionsVisible();
|
140
|
+
/**
|
141
|
+
* Returns `true` when {@link #actionsView} or {@link #formView} is in the {@link #_balloon}.
|
142
|
+
*/
|
143
|
+
private get _isUIInPanel();
|
144
|
+
/**
|
145
|
+
* Returns `true` when {@link #actionsView} or {@link #formView} is in the {@link #_balloon} and it is
|
146
|
+
* currently visible.
|
147
|
+
*/
|
148
|
+
private get _isUIVisible();
|
149
|
+
/**
|
150
|
+
* Returns positioning options for the {@link #_balloon}. They control the way the balloon is attached
|
151
|
+
* to the target element or selection.
|
152
|
+
*/
|
153
|
+
private _getBalloonPositionData;
|
154
|
+
/**
|
155
|
+
* Returns the bookmark {@link module:engine/view/attributeelement~AttributeElement} under
|
156
|
+
* the {@link module:engine/view/document~Document editing view's} selection or `null`
|
157
|
+
* if there is none.
|
158
|
+
*/
|
159
|
+
private _getSelectedBookmarkElement;
|
160
|
+
/**
|
161
|
+
* Displays a fake visual selection when the contextual balloon is displayed.
|
162
|
+
*
|
163
|
+
* This adds a 'bookmark-ui' marker into the document that is rendered as a highlight on selected text fragment.
|
164
|
+
*/
|
165
|
+
private _showFakeVisualSelection;
|
166
|
+
/**
|
167
|
+
* Hides the fake visual selection created in {@link #_showFakeVisualSelection}.
|
168
|
+
*/
|
169
|
+
private _hideFakeVisualSelection;
|
170
|
+
}
|
@@ -0,0 +1,150 @@
|
|
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
|
+
:root{
|
6
|
+
--ck-bookmark-icon-hover-fill-color:var(--ck-color-widget-hover-border);
|
7
|
+
--ck-bookmark-icon-selected-fill-color:var(--ck-color-focus-border);
|
8
|
+
--ck-bookmark-icon-animation-duration:var(--ck-widget-handler-animation-duration);
|
9
|
+
--ck-bookmark-icon-animation-curve:var(--ck-widget-handler-animation-curve);
|
10
|
+
}
|
11
|
+
|
12
|
+
.ck-bookmark.ck-widget{
|
13
|
+
outline:none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon__fill{
|
17
|
+
transition:fill var(--ck-bookmark-icon-animation-duration) var(--ck-bookmark-icon-animation-curve);
|
18
|
+
}
|
19
|
+
|
20
|
+
.ck-bookmark.ck-widget:hover .ck-bookmark__icon .ck-icon__fill{
|
21
|
+
fill:var(--ck-bookmark-icon-hover-fill-color);
|
22
|
+
}
|
23
|
+
|
24
|
+
.ck-bookmark.ck-widget.ck-widget_selected .ck-bookmark__icon .ck-icon__fill{
|
25
|
+
fill:var(--ck-bookmark-icon-selected-fill-color);
|
26
|
+
}
|
27
|
+
|
28
|
+
.ck-bookmark.ck-widget.ck-widget_selected,
|
29
|
+
.ck-bookmark.ck-widget.ck-widget_selected:hover{
|
30
|
+
outline:none;
|
31
|
+
}
|
32
|
+
|
33
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon{
|
34
|
+
position:relative;
|
35
|
+
top:-0.1em;
|
36
|
+
}
|
37
|
+
|
38
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon{
|
39
|
+
height:1.2em;
|
40
|
+
width:auto;
|
41
|
+
vertical-align:middle;
|
42
|
+
}
|
43
|
+
|
44
|
+
.ck.ck-bookmark-view:focus{
|
45
|
+
outline:none;
|
46
|
+
}
|
47
|
+
|
48
|
+
.ck.ck-bookmark-form{
|
49
|
+
display:flex;
|
50
|
+
align-items:flex-start;
|
51
|
+
}
|
52
|
+
|
53
|
+
@media screen and (max-width: 600px){
|
54
|
+
|
55
|
+
.ck.ck-bookmark-form{
|
56
|
+
flex-wrap:wrap;
|
57
|
+
}
|
58
|
+
|
59
|
+
.ck.ck-bookmark-form .ck-button,
|
60
|
+
.ck.ck-bookmark-form .ck-labeled-field-view{
|
61
|
+
flex-basis:100%;
|
62
|
+
}
|
63
|
+
|
64
|
+
.ck.ck-bookmark-form .ck-button{
|
65
|
+
justify-content:center;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
@media screen and (max-width: 600px){
|
70
|
+
.ck.ck-bookmark-form.ck-responsive-form > .ck-button:nth-last-child(1){
|
71
|
+
margin:var(--ck-spacing-large);
|
72
|
+
padding:0 var(--ck-spacing-standard);
|
73
|
+
border-radius:var(--ck-border-radius);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.ck-vertical-form .ck-button::after{
|
78
|
+
content:"";
|
79
|
+
width:0;
|
80
|
+
position:absolute;
|
81
|
+
right:-1px;
|
82
|
+
top:-1px;
|
83
|
+
bottom:-1px;
|
84
|
+
z-index:1;
|
85
|
+
}
|
86
|
+
|
87
|
+
.ck-vertical-form .ck-button:focus::after{
|
88
|
+
display:none;
|
89
|
+
}
|
90
|
+
|
91
|
+
@media screen and (max-width: 600px){
|
92
|
+
.ck.ck-responsive-form .ck-button::after{
|
93
|
+
content:"";
|
94
|
+
width:0;
|
95
|
+
position:absolute;
|
96
|
+
right:-1px;
|
97
|
+
top:-1px;
|
98
|
+
bottom:-1px;
|
99
|
+
z-index:1;
|
100
|
+
}
|
101
|
+
|
102
|
+
.ck.ck-responsive-form .ck-button:focus::after{
|
103
|
+
display:none;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.ck.ck-bookmark-actions{
|
108
|
+
display:flex;
|
109
|
+
align-items:center;
|
110
|
+
}
|
111
|
+
|
112
|
+
.ck.ck-bookmark-actions .ck-bookmark-actions__preview{
|
113
|
+
max-width:var(--ck-input-width);
|
114
|
+
min-width:3em;
|
115
|
+
font-weight:normal;
|
116
|
+
text-overflow:ellipsis;
|
117
|
+
text-align:center;
|
118
|
+
overflow:hidden;
|
119
|
+
|
120
|
+
-moz-user-select:none;
|
121
|
+
|
122
|
+
-webkit-user-select:none;
|
123
|
+
|
124
|
+
-ms-user-select:none;
|
125
|
+
|
126
|
+
user-select:none;
|
127
|
+
cursor:default;
|
128
|
+
}
|
129
|
+
|
130
|
+
@media screen and (max-width: 600px){
|
131
|
+
|
132
|
+
.ck.ck-bookmark-actions{
|
133
|
+
display:flex;
|
134
|
+
flex-wrap:wrap;
|
135
|
+
}
|
136
|
+
|
137
|
+
.ck.ck-bookmark-actions .ck-bookmark-actions__preview{
|
138
|
+
flex-basis:100%;
|
139
|
+
margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
|
140
|
+
min-width:auto;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
@media screen and (max-width: 600px){
|
145
|
+
|
146
|
+
.ck.ck-bookmark-actions.ck-responsive-form .ck-button{
|
147
|
+
flex-basis:50%;
|
148
|
+
margin-top:var(--ck-spacing-standard);
|
149
|
+
}
|
150
|
+
}
|
package/dist/index.css
ADDED
@@ -0,0 +1,195 @@
|
|
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
|
+
* 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-oss-license
|
8
|
+
*/
|
9
|
+
|
10
|
+
:root {
|
11
|
+
--ck-bookmark-icon-hover-fill-color: var(--ck-color-widget-hover-border);
|
12
|
+
--ck-bookmark-icon-selected-fill-color: var(--ck-color-focus-border);
|
13
|
+
--ck-bookmark-icon-animation-duration: var(--ck-widget-handler-animation-duration);
|
14
|
+
--ck-bookmark-icon-animation-curve: var(--ck-widget-handler-animation-curve);
|
15
|
+
}
|
16
|
+
|
17
|
+
.ck-bookmark.ck-widget {
|
18
|
+
outline: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon__fill {
|
22
|
+
transition: fill var(--ck-bookmark-icon-animation-duration) var(--ck-bookmark-icon-animation-curve);
|
23
|
+
}
|
24
|
+
|
25
|
+
.ck-bookmark.ck-widget:hover .ck-bookmark__icon .ck-icon__fill {
|
26
|
+
fill: var(--ck-bookmark-icon-hover-fill-color);
|
27
|
+
}
|
28
|
+
|
29
|
+
.ck-bookmark.ck-widget.ck-widget_selected .ck-bookmark__icon .ck-icon__fill {
|
30
|
+
fill: var(--ck-bookmark-icon-selected-fill-color);
|
31
|
+
}
|
32
|
+
|
33
|
+
.ck-bookmark.ck-widget.ck-widget_selected,
|
34
|
+
.ck-bookmark.ck-widget.ck-widget_selected:hover {
|
35
|
+
outline: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon {
|
39
|
+
position: relative;
|
40
|
+
/* To make it align with text baseline. */
|
41
|
+
top: -0.1em;
|
42
|
+
}
|
43
|
+
|
44
|
+
.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon {
|
45
|
+
height: 1.2em;
|
46
|
+
width: auto;
|
47
|
+
vertical-align: middle;
|
48
|
+
}
|
49
|
+
|
50
|
+
/*
|
51
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
52
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
53
|
+
*/
|
54
|
+
|
55
|
+
/*
|
56
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
57
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
58
|
+
*/
|
59
|
+
|
60
|
+
.ck.ck-bookmark-view:focus {
|
61
|
+
outline: none;
|
62
|
+
}
|
63
|
+
|
64
|
+
.ck.ck-bookmark-form {
|
65
|
+
display: flex;
|
66
|
+
align-items: flex-start;
|
67
|
+
}
|
68
|
+
|
69
|
+
@media screen and (max-width: 600px) {
|
70
|
+
|
71
|
+
.ck.ck-bookmark-form {
|
72
|
+
flex-wrap: wrap;
|
73
|
+
}
|
74
|
+
|
75
|
+
.ck.ck-bookmark-form .ck-button,
|
76
|
+
.ck.ck-bookmark-form .ck-labeled-field-view {
|
77
|
+
flex-basis: 100%;
|
78
|
+
}
|
79
|
+
|
80
|
+
.ck.ck-bookmark-form .ck-button {
|
81
|
+
justify-content: center;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
@media screen and (max-width: 600px) {
|
86
|
+
.ck.ck-bookmark-form.ck-responsive-form > .ck-button:nth-last-child(1) {
|
87
|
+
margin: var(--ck-spacing-large);
|
88
|
+
padding: 0 var(--ck-spacing-standard);
|
89
|
+
border-radius: var(--ck-border-radius);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
/*
|
94
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
95
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
96
|
+
*/
|
97
|
+
|
98
|
+
/*
|
99
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
100
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
101
|
+
*/
|
102
|
+
|
103
|
+
.ck-vertical-form .ck-button::after {
|
104
|
+
content: "";
|
105
|
+
width: 0;
|
106
|
+
position: absolute;
|
107
|
+
right: -1px;
|
108
|
+
top: -1px;
|
109
|
+
bottom: -1px;
|
110
|
+
z-index: 1;
|
111
|
+
}
|
112
|
+
|
113
|
+
.ck-vertical-form .ck-button:focus::after {
|
114
|
+
display: none;
|
115
|
+
}
|
116
|
+
|
117
|
+
@media screen and (max-width: 600px) {
|
118
|
+
.ck.ck-responsive-form .ck-button::after {
|
119
|
+
content: "";
|
120
|
+
width: 0;
|
121
|
+
position: absolute;
|
122
|
+
right: -1px;
|
123
|
+
top: -1px;
|
124
|
+
bottom: -1px;
|
125
|
+
z-index: 1;
|
126
|
+
}
|
127
|
+
|
128
|
+
.ck.ck-responsive-form .ck-button:focus::after {
|
129
|
+
display: none;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
/*
|
134
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
135
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
136
|
+
*/
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
140
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
141
|
+
*/
|
142
|
+
/*
|
143
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
144
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
145
|
+
*/
|
146
|
+
/**
|
147
|
+
* Makes element unselectable.
|
148
|
+
*/
|
149
|
+
|
150
|
+
.ck.ck-bookmark-actions {
|
151
|
+
display: flex;
|
152
|
+
align-items: center;
|
153
|
+
}
|
154
|
+
|
155
|
+
.ck.ck-bookmark-actions .ck-bookmark-actions__preview {
|
156
|
+
max-width: var(--ck-input-width);
|
157
|
+
min-width: 3em;
|
158
|
+
font-weight: normal;
|
159
|
+
text-overflow: ellipsis;
|
160
|
+
text-align: center;
|
161
|
+
overflow: hidden;
|
162
|
+
|
163
|
+
-moz-user-select: none;
|
164
|
+
|
165
|
+
-webkit-user-select: none;
|
166
|
+
|
167
|
+
-ms-user-select: none;
|
168
|
+
|
169
|
+
user-select: none;
|
170
|
+
cursor: default;
|
171
|
+
}
|
172
|
+
|
173
|
+
@media screen and (max-width: 600px) {
|
174
|
+
|
175
|
+
.ck.ck-bookmark-actions {
|
176
|
+
display: flex;
|
177
|
+
flex-wrap: wrap;
|
178
|
+
}
|
179
|
+
|
180
|
+
.ck.ck-bookmark-actions .ck-bookmark-actions__preview {
|
181
|
+
flex-basis: 100%;
|
182
|
+
margin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
|
183
|
+
min-width: auto;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
@media screen and (max-width: 600px) {
|
188
|
+
|
189
|
+
.ck.ck-bookmark-actions.ck-responsive-form .ck-button {
|
190
|
+
flex-basis: 50%;
|
191
|
+
margin-top: var(--ck-spacing-standard);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
/*# sourceMappingURL=index.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../theme/bookmark.css","index.css","../theme/bookmarkform.css","../../../node_modules/@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css","../../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","../theme/bookmarkactions.css","../../../node_modules/@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;AAC5E,CAAC,CDAC;;AAEF,CAAA,IAAA,CAAA;ACCA,CDAC,CAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,KAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,MAAA,CAAA,KAAA,CAAA,MAAA,CAAwE;ACCzE,CDAC,CAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,QAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,KAAA,CAAA,MAAA,CAAoE;ACCrE,CDAC,CAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,SAAA,CAAA,QAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,OAAA,CAAA,SAAA,CAAA,QAAA,CAAkF;ACCnF,CDAC,CAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,SAAA,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md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-bookmark-icon-hover-fill-color: var(--ck-color-widget-hover-border);\n\t--ck-bookmark-icon-selected-fill-color: var(--ck-color-focus-border);\n\t--ck-bookmark-icon-animation-duration: var(--ck-widget-handler-animation-duration);\n\t--ck-bookmark-icon-animation-curve: var(--ck-widget-handler-animation-curve);\n}\n\n.ck-bookmark {\n\t&.ck-widget {\n\t\toutline: none;\n\n\t\t& .ck-bookmark__icon .ck-icon__fill {\n\t\t\ttransition: fill var(--ck-bookmark-icon-animation-duration) var(--ck-bookmark-icon-animation-curve);\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .ck-bookmark__icon .ck-icon__fill {\n\t\t\t\tfill: var(--ck-bookmark-icon-hover-fill-color);\n\t\t\t}\n\t\t}\n\n\t\t&.ck-widget_selected {\n\t\t\t.ck-bookmark__icon .ck-icon__fill {\n\t\t\t\tfill: var(--ck-bookmark-icon-selected-fill-color);\n\t\t\t}\n\t\t}\n\n\t\t&.ck-widget_selected,\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline: none;\n\t\t}\n\n\t\t& .ck-bookmark__icon {\n\t\t\tposition: relative;\n\t\t\t/* To make it align with text baseline. */\n\t\t\ttop: -0.1em;\n\n\t\t\t& .ck-icon {\n\t\t\t\theight: 1.2em;\n\t\t\t\twidth: auto;\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-bookmark-icon-hover-fill-color: var(--ck-color-widget-hover-border);\n\t--ck-bookmark-icon-selected-fill-color: var(--ck-color-focus-border);\n\t--ck-bookmark-icon-animation-duration: var(--ck-widget-handler-animation-duration);\n\t--ck-bookmark-icon-animation-curve: var(--ck-widget-handler-animation-curve);\n}\n\n.ck-bookmark.ck-widget {\n\t\toutline: none;\n\t}\n\n.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon__fill {\n\t\t\ttransition: fill var(--ck-bookmark-icon-animation-duration) var(--ck-bookmark-icon-animation-curve);\n\t\t}\n\n.ck-bookmark.ck-widget:hover .ck-bookmark__icon .ck-icon__fill {\n\t\t\t\tfill: var(--ck-bookmark-icon-hover-fill-color);\n\t\t\t}\n\n.ck-bookmark.ck-widget.ck-widget_selected .ck-bookmark__icon .ck-icon__fill {\n\t\t\t\tfill: var(--ck-bookmark-icon-selected-fill-color);\n\t\t\t}\n\n.ck-bookmark.ck-widget.ck-widget_selected,\n\t\t.ck-bookmark.ck-widget.ck-widget_selected:hover {\n\t\t\toutline: none;\n\t\t}\n\n.ck-bookmark.ck-widget .ck-bookmark__icon {\n\t\t\tposition: relative;\n\t\t\t/* To make it align with text baseline. */\n\t\t\ttop: -0.1em;\n\t\t}\n\n.ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon {\n\t\t\t\theight: 1.2em;\n\t\t\t\twidth: auto;\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-bookmark-view:focus {\n\t\toutline: none;\n\t}\n\n.ck.ck-bookmark-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n}\n\n@media screen and (max-width: 600px) {\n\n.ck.ck-bookmark-form {\n\t\tflex-wrap: wrap;\n}\n\n\t\t.ck.ck-bookmark-form .ck-button,\n\t\t.ck.ck-bookmark-form .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t.ck.ck-bookmark-form .ck-button {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n\n@media screen and (max-width: 600px) {\n\t\t\t\t.ck.ck-bookmark-form.ck-responsive-form > .ck-button:nth-last-child(1) {\n\t\t\t\t\tmargin: var(--ck-spacing-large);\n\t\t\t\t\tpadding: 0 var(--ck-spacing-standard);\n\t\t\t\t\tborder-radius: var(--ck-border-radius);\n\t\t\t\t}\n\t}\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-vertical-form .ck-button::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n.ck-vertical-form .ck-button:focus::after {\n\t\tdisplay: none;\n\t}\n\n@media screen and (max-width: 600px) {\n\t\t\t.ck.ck-responsive-form .ck-button::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t.ck.ck-responsive-form .ck-button:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t}\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n/**\n * Makes element unselectable.\n */\n\n.ck.ck-bookmark-actions {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.ck.ck-bookmark-actions .ck-bookmark-actions__preview {\n\t\tmax-width: var(--ck-input-width);\n\t\tmin-width: 3em;\n\t\tfont-weight: normal;\n\t\ttext-overflow: ellipsis;\n\t\ttext-align: center;\n\t\toverflow: hidden;\n\n\t\t-moz-user-select: none;\n\n\t\t-webkit-user-select: none;\n\n\t\t-ms-user-select: none;\n\n\t\tuser-select: none;\n\t\tcursor: default;\n\t}\n\n@media screen and (max-width: 600px) {\n\n.ck.ck-bookmark-actions {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n}\n\n\t\t.ck.ck-bookmark-actions .ck-bookmark-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\t\t\tmin-width: auto;\n\t\t}\n\t}\n\n@media screen and (max-width: 600px) {\n\n.ck.ck-bookmark-actions.ck-responsive-form .ck-button {\n\t\t\t\tflex-basis: 50%;\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css\";\n\n.ck.ck-bookmark-view {\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n\n.ck.ck-bookmark-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-button,\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n\n\t&.ck-responsive-form {\n\t\t& > .ck-button {\n\t\t\t@mixin ck-media-phone {\n\t\t\t\t&:nth-last-child(1) {\n\t\t\t\t\tmargin: var(--ck-spacing-large);\n\t\t\t\t\tpadding: 0 var(--ck-spacing-standard);\n\t\t\t\t\tborder-radius: var(--ck-border-radius);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css\";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: \"\";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css\";\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css\";\n\n.ck.ck-bookmark-actions {\n\tdisplay: flex;\n\talign-items: center;\n\n\t& .ck-bookmark-actions__preview {\n\t\tmax-width: var(--ck-input-width);\n\t\tmin-width: 3em;\n\t\tfont-weight: normal;\n\t\ttext-overflow: ellipsis;\n\t\ttext-align: center;\n\t\toverflow: hidden;\n\n\t\t@mixin ck-unselectable;\n\t\tcursor: default;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-bookmark-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\t\t\tmin-width: auto;\n\t\t}\n\t}\n\n\t&.ck-responsive-form {\n\t\t& .ck-button {\n\t\t\t@mixin ck-media-phone {\n\t\t\t\tflex-basis: 50%;\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n"]}
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,18 @@
|
|
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-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module bookmark
|
11
|
+
*/
|
12
|
+
export { default as Bookmark } from './bookmark.js';
|
13
|
+
export { default as BookmarkEditing } from './bookmarkediting.js';
|
14
|
+
export { default as BookmarkUI } from './bookmarkui.js';
|
15
|
+
export { default as InsertBookmarkCommand } from './insertbookmarkcommand.js';
|
16
|
+
export { default as UpdateBookmarkCommand } from './updatebookmarkcommand.js';
|
17
|
+
export type { BookmarkConfig } from './bookmarkconfig.js';
|
18
|
+
import './augmentation.js';
|