@fraczled/sdk 1.23.0 → 1.24.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/README.md
CHANGED
|
@@ -8,6 +8,12 @@ Embed a powerful design editor in your application with the Fraczled SDK.
|
|
|
8
8
|
npm install @fraczled/sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Server-gated delivery (required)
|
|
12
|
+
|
|
13
|
+
To prevent unauthorized usage, always gate the SDK bundle through your backend.
|
|
14
|
+
Use `/api/editor/init` to validate the license, then serve the SDK from `/api/editor/sdk`.
|
|
15
|
+
See `docs/license-enforcement.md` for the full flow.
|
|
16
|
+
|
|
11
17
|
## Quick Start
|
|
12
18
|
|
|
13
19
|
```typescript
|
|
@@ -223,6 +229,19 @@ createFraczledEditor({
|
|
|
223
229
|
Notes:
|
|
224
230
|
- `hiddenPanels` applies to both default and custom panels by id.
|
|
225
231
|
- Removing the `ui` config restores the vanilla sidebar.
|
|
232
|
+
- Hiding tabs is UI-only; it does not disable underlying features.
|
|
233
|
+
|
|
234
|
+
Built-in panel IDs you can hide:
|
|
235
|
+
- `ToolType.TEMPLATES` (label: Create)
|
|
236
|
+
- `ToolType.DESIGN`
|
|
237
|
+
- `ToolType.ELEMENTS`
|
|
238
|
+
- `ToolType.DRAW`
|
|
239
|
+
- `ToolType.TEXT`
|
|
240
|
+
- `ToolType.IMAGES`
|
|
241
|
+
- `ToolType.BRAND`
|
|
242
|
+
- `ToolType.UPLOADS`
|
|
243
|
+
- `ToolType.QR_CODE`
|
|
244
|
+
- `ToolType.LAYERS`
|
|
226
245
|
|
|
227
246
|
## Support
|
|
228
247
|
|
package/dist/fraczled-sdk.es.js
CHANGED