ckbox 2.11.0 → 2.11.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 +42 -53
- package/dist/ckbox.js +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Using a build served from the CDN is the simplest and fastest way of embedding C
|
|
|
13
13
|
To start using CKBox on your website, embed the following `script` element in the HTML code of the page:
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.ckbox.io/ckbox/2.11.
|
|
16
|
+
<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Quick implementation example:
|
|
@@ -23,7 +23,7 @@ Quick implementation example:
|
|
|
23
23
|
<html>
|
|
24
24
|
<head>
|
|
25
25
|
<meta charset="UTF-8" />
|
|
26
|
-
<script src="https://cdn.ckbox.io/ckbox/2.11.
|
|
26
|
+
<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|
|
29
29
|
<div id="ckbox"></div>
|
|
@@ -48,12 +48,12 @@ The code snippet below presents the simplest scenario for integration of CKEdito
|
|
|
48
48
|
<html>
|
|
49
49
|
<head>
|
|
50
50
|
<meta charset="UTF-8" />
|
|
51
|
-
<script src="https://cdn.ckbox.io/ckbox/2.11.
|
|
51
|
+
<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>
|
|
52
52
|
<link
|
|
53
53
|
rel="stylesheet"
|
|
54
|
-
href="https://cdn.ckbox.io/ckbox/2.11.
|
|
54
|
+
href="https://cdn.ckbox.io/ckbox/2.11.1/styles/themes/lark.css"
|
|
55
55
|
/>
|
|
56
|
-
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/
|
|
56
|
+
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.css" />
|
|
57
57
|
</head>
|
|
58
58
|
<body>
|
|
59
59
|
<div id="editor"></div>
|
|
@@ -61,8 +61,8 @@ The code snippet below presents the simplest scenario for integration of CKEdito
|
|
|
61
61
|
<script type="importmap">
|
|
62
62
|
{
|
|
63
63
|
"imports": {
|
|
64
|
-
"ckeditor5": "https://cdn.ckeditor.com/ckeditor5/
|
|
65
|
-
"ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/
|
|
64
|
+
"ckeditor5": "https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.js",
|
|
65
|
+
"ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/47.6.1/"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
</script>
|
|
@@ -70,57 +70,46 @@ The code snippet below presents the simplest scenario for integration of CKEdito
|
|
|
70
70
|
<script type="module">
|
|
71
71
|
import {
|
|
72
72
|
ClassicEditor,
|
|
73
|
-
CKBox,
|
|
74
|
-
Bold,
|
|
75
|
-
CloudServices,
|
|
76
73
|
Essentials,
|
|
77
|
-
|
|
74
|
+
CloudServices,
|
|
75
|
+
CKBox,
|
|
76
|
+
CKBoxImageEdit,
|
|
77
|
+
PictureEditing,
|
|
78
78
|
Image,
|
|
79
|
+
ImageUpload,
|
|
79
80
|
ImageUploadEditing,
|
|
80
81
|
ImageUploadProgress,
|
|
81
|
-
Italic,
|
|
82
82
|
LinkEditing,
|
|
83
|
+
Heading,
|
|
84
|
+
Font,
|
|
85
|
+
Bold,
|
|
86
|
+
Italic,
|
|
87
|
+
BlockQuote,
|
|
83
88
|
Paragraph,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"ckbox",
|
|
109
|
-
"|",
|
|
110
|
-
"undo",
|
|
111
|
-
"redo",
|
|
112
|
-
"|",
|
|
113
|
-
"bold",
|
|
114
|
-
"italic",
|
|
115
|
-
"|",
|
|
116
|
-
"fontSize",
|
|
117
|
-
"fontFamily",
|
|
118
|
-
"fontColor",
|
|
119
|
-
"fontBackgroundColor",
|
|
120
|
-
],
|
|
121
|
-
}).catch((error) => {
|
|
122
|
-
console.error(error);
|
|
123
|
-
});
|
|
89
|
+
Indent,
|
|
90
|
+
Link,
|
|
91
|
+
List
|
|
92
|
+
} from 'ckeditor5';
|
|
93
|
+
|
|
94
|
+
ClassicEditor
|
|
95
|
+
.create( document.querySelector( '#editor' ), {
|
|
96
|
+
plugins: [
|
|
97
|
+
CKBox, CloudServices, Essentials, Bold, Italic, Font, Paragraph, LinkEditing,
|
|
98
|
+
PictureEditing, Image, ImageUploadEditing, ImageUploadProgress, BlockQuote,
|
|
99
|
+
Indent, Heading, Link, List, CKBoxImageEdit, ImageUpload
|
|
100
|
+
],
|
|
101
|
+
ckbox: {
|
|
102
|
+
tokenUrl: 'https://your.token.url',
|
|
103
|
+
theme: 'lark',
|
|
104
|
+
},
|
|
105
|
+
toolbar: [
|
|
106
|
+
'ckbox', 'imageUpload', '|', 'heading', '|', 'undo', 'redo', '|', 'bold', 'italic', '|',
|
|
107
|
+
'blockQuote', 'indent', 'link', '|', 'bulletedList', 'numberedList'
|
|
108
|
+
],
|
|
109
|
+
} )
|
|
110
|
+
.catch( error => {
|
|
111
|
+
console.error( error );
|
|
112
|
+
} );
|
|
124
113
|
</script>
|
|
125
114
|
</body>
|
|
126
115
|
</html>
|
|
@@ -142,7 +131,7 @@ You will find ready to use code snippets and live examples there.
|
|
|
142
131
|
|
|
143
132
|
**CKBox** (https://ckeditor.com/ckbox/)
|
|
144
133
|
|
|
145
|
-
Copyright (c)
|
|
134
|
+
Copyright (c) 2021-2026, [CKSource Holding sp. z o.o.](https://cksource.com/) All rights reserved.
|
|
146
135
|
**CKBox** is licensed under a commercial license and is protected by copyright law. For more details about available licensing options please contact us at [sales@cksource.com](mailto:sales@cksource.com).
|
|
147
136
|
|
|
148
137
|
Trademarks
|