@innovastudio/contentbox 1.6.109 → 1.6.111
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/package.json +2 -2
- package/public/contentbox/contentbox.esm.js +407 -14
- package/public/contentbox/contentbox.min.js +14 -14
- package/readme.txt +12 -54
package/readme.txt
CHANGED
@@ -1,12 +1,22 @@
|
|
1
|
-
ContentBox.js 5.8.
|
1
|
+
ContentBox.js 5.8.32
|
2
|
+
|
3
|
+
Note: If you have Source Code package (Super license), please refer to:
|
4
|
+
|
5
|
+
readme-sourcecode.txt
|
6
|
+
|
7
|
+
for additional information.
|
2
8
|
|
3
9
|
Documentation:
|
4
10
|
|
5
|
-
https://
|
11
|
+
https://github.com/innovastudio-dev/contentbox/
|
12
|
+
|
13
|
+
https://demo.innovastudio.com/docs/ContentBox.pdf (old version)
|
6
14
|
|
7
15
|
https://demo.innovastudio.com/docs/AI-Assistant.pdf (AI Assistant documentation)
|
8
16
|
|
9
17
|
|
18
|
+
Getting started
|
19
|
+
|
10
20
|
You can choose to run the HTML, PHP or JavaScript project examples:
|
11
21
|
|
12
22
|
A. To try the HTML example:
|
@@ -58,7 +68,6 @@ C. To try the JavaScript project, install the dependencies and start the project
|
|
58
68
|
|
59
69
|
server.js
|
60
70
|
|
61
|
-
|
62
71
|
NOTE:
|
63
72
|
|
64
73
|
- To use the AI Assistant:
|
@@ -133,57 +142,6 @@ NOTE:
|
|
133
142
|
|
134
143
|
$GETIMG_API_KEY = 'YOUR_API_KEY';
|
135
144
|
|
136
|
-
- To try the examples using S3 Storage:
|
137
|
-
|
138
|
-
A. HTML example
|
139
|
-
|
140
|
-
1. Update the .env file with your S3 storage credentials.
|
141
|
-
|
142
|
-
AWS_KEY=YOUR_KEY
|
143
|
-
AWS_SECRET=YOUR_SECRET
|
144
|
-
AWS_BUCKET=BUCKET_NAME
|
145
|
-
AWS_URL=http://BUCKET_NAME.s3-website-us-east-1.amazonaws.com
|
146
|
-
AWS_REGION=us-east-1
|
147
|
-
|
148
|
-
2. Install the server dependencies:
|
149
|
-
|
150
|
-
> npm install
|
151
|
-
|
152
|
-
3. Run the server:
|
153
|
-
|
154
|
-
> node server-aws.js
|
155
|
-
|
156
|
-
4. Open from your browser:
|
157
|
-
|
158
|
-
http://localhost:8081/example-s3.html
|
159
|
-
|
160
|
-
B. PHP example
|
161
|
-
|
162
|
-
1. Update the public/api/config.php with your S3 storage credentials.
|
163
|
-
|
164
|
-
$AWS_KEY = 'YOUR_KEY';
|
165
|
-
$AWS_SECRET = 'YOUR_SECRET';
|
166
|
-
$AWS_BUCKET = 'BUCKET_NAME';
|
167
|
-
$AWS_URL = 'http://BUCKET_NAME.s3-website-us-east-1.amazonaws.com';
|
168
|
-
$AWS_REGION = 'us-east-1';
|
169
|
-
|
170
|
-
2. Download the AWS SDK for PHP phar file (aws.phar) from https://github.com/aws/aws-sdk-php/releases
|
171
|
-
and copy it to your project's public/api/ directory.
|
172
|
-
|
173
|
-
3. Open from your browser:
|
174
|
-
|
175
|
-
http://localhost/.../public/example-s3.php
|
176
|
-
|
177
|
-
- New Canvas Mode
|
178
|
-
|
179
|
-
Canvas mode is a new option for seamless (gridless) block positioning. Simply activate with:
|
180
|
-
|
181
|
-
const builder = new ContentBox({
|
182
|
-
canvas: true,
|
183
|
-
...
|
184
|
-
});
|
185
|
-
|
186
|
-
Then start adding a new 'Canvas' section.
|
187
145
|
|
188
146
|
- IMPORTANT:
|
189
147
|
|