@innovastudio/contentbox 1.6.195 → 1.6.197

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.
@@ -1485,3 +1485,27 @@ _txt["Editing Width"] = "Editing Width";
1485
1485
  _txt["As wide as the editing area allows."] = "As wide as the editing area allows.";
1486
1486
  _txt["Auto already gives a wider area."] = "Auto already gives a wider area.";
1487
1487
  _txt["Too wide for the current editing area."] = "Too wide for the current editing area.";
1488
+
1489
+ //ContentBox.js - Box panel (Content Size / Layout / Position)
1490
+ _txt["Sizing"] = "Sizing";
1491
+ _txt["Fixed"] = "Fixed";
1492
+ _txt["Scales"] = "Scales";
1493
+ _txt["%spx on every screen"] = "%spx on every screen";
1494
+ _txt["%spx on a large screen, smaller on smaller ones"] = "%spx on a large screen, smaller on smaller ones";
1495
+ _txt["Pixel sizes stay the same on every screen."] = "Pixel sizes stay the same on every screen.";
1496
+ _txt["Width, text and spacing scale with the screen."] = "Width, text and spacing scale with the screen.";
1497
+ _txt["Fit content"] = "Fit content";
1498
+ _txt["Fill height"] = "Fill height";
1499
+ _txt["Distribute rows"] = "Distribute rows";
1500
+ _txt["Arrow keys move the selection."] = "Arrow keys move the selection.";
1501
+ _txt["The content fills the box, so only the horizontal position applies."] = "The content fills the box, so only the horizontal position applies.";
1502
+ _txt["Offset"] = "Offset";
1503
+ _txt["Horizontal offset"] = "Horizontal offset";
1504
+ _txt["Vertical offset"] = "Vertical offset";
1505
+ _txt["Vertical offset does not apply when the content fills the box."] = "Vertical offset does not apply when the content fills the box.";
1506
+ _txt["Reset position and offset"] = "Reset position and offset";
1507
+ _txt["Breakpoints"] = "Breakpoints";
1508
+ _txt["Default Paragraph Size"] = "Default Paragraph Size";
1509
+ _txt["Default Line Spacing"] = "Default Line Spacing";
1510
+ _txt["Overlay Transparency"] = "Overlay Transparency";
1511
+ _txt["n/a"] = "n/a";
package/readme.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  ========================================================================
2
- CONTENTBOX.JS 6.0.0
2
+ CONTENTBOX.JS 6.0.2
3
3
  ========================================================================
4
4
 
5
5
  Thanks for using ContentBox - a browser-based drag & drop page builder.
@@ -217,19 +217,7 @@ Add your own security to the API endpoints before going to production!
217
217
 
218
218
  The JavaScript project serves these endpoints from server.js.
219
219
 
220
- More detail: https://demo.innovastudio.com/docs/AI-Assistant.pdf
221
-
222
-
223
- 5.2 SPEECH RECOGNITION (optional, for dictation)
224
-
225
- If dictation is enabled, the browser's built-in speech recognition
226
- is used - but some browsers don't support it. For broader
227
- compatibility and accuracy, use Deepgram: get a key from
228
- https://deepgram.com, add it to .env, then enable the
229
- speechTranscribeUrl option in src/index.js.
230
-
231
-
232
- 5.3 AI IMAGE GENERATION
220
+ 5.2 AI IMAGE GENERATION
233
221
 
234
222
  Current provider - Fal.ai:
235
223
 
@@ -265,36 +253,6 @@ Add your own security to the API endpoints before going to production!
265
253
  getResultUrl_Fal: 'api/result-fal.php',
266
254
  });
267
255
 
268
-
269
- Legacy provider - Getimg.ai:
270
-
271
- 1. Get an API key from https://getimg.ai/tools/api and add it to .env:
272
-
273
- GETIMG_API_KEY=YOUR_API_KEY
274
-
275
- (PHP: add $GETIMG_API_KEY = 'YOUR_API_KEY'; to api/config.php)
276
-
277
- 2. Set these options:
278
-
279
- const builder = new ContentBox({
280
- // ...
281
- textToImageUrl: '/texttoimage',
282
- upscaleImageUrl: '/upscaleimage',
283
- imageModel: 'flux-schnell',
284
- imageAutoUpscale: false,
285
- // viewFileUrl: '/viewfile', // if using S3
286
- });
287
-
288
- For PHP:
289
-
290
- const builder = new ContentBox({
291
- // ...
292
- textToImageUrl: 'api/texttoimage.php',
293
- upscaleImageUrl: 'api/upscaleimage.php',
294
- imageModel: 'flux-schnell',
295
- imageAutoUpscale: false,
296
- });
297
-
298
256
  The JavaScript project serves these endpoints from server.js.
299
257
 
300
258