@innovastudio/contentbuilder 1.5.22 → 1.5.23
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.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
ContentBuilder.js 5.5
|
1
|
+
ContentBuilder.js 5.5.1
|
2
2
|
|
3
3
|
Note: If you have Source Code package (Super license), please refer to:
|
4
4
|
|
@@ -97,6 +97,23 @@ NOTE:
|
|
97
97
|
|
98
98
|
$GETIMG_API_KEY = 'YOUR_API_KEY';
|
99
99
|
|
100
|
+
- New Canvas Mode
|
101
|
+
|
102
|
+
Canvas mode is a new option for seamless (gridless) block positioning. Simply activate with:
|
103
|
+
|
104
|
+
const builder = new ContentBuilder({
|
105
|
+
container: '.container',
|
106
|
+
canvas: true,
|
107
|
+
previewURL:'preview-canvas.html'
|
108
|
+
});
|
109
|
+
|
110
|
+
And include additional JavaScript and CSS:
|
111
|
+
|
112
|
+
<link href="block/block.css" rel="stylesheet">
|
113
|
+
<script src="block/block.js">
|
114
|
+
|
115
|
+
You can try 'example-canvas.html' in the package.
|
116
|
+
|
100
117
|
|
101
118
|
- IMPORTANT:
|
102
119
|
|