@innovastudio/contentbuilder 1.1.12 → 1.1.13
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/license.txt +79 -79
- package/package.json +1 -1
- package/public/contentbuilder/config.js +6 -6
- package/public/contentbuilder/contentbuilder.esm.js +31 -3
- package/public/contentbuilder/contentbuilder.min.js +1 -1
- package/public/contentbuilder/lang/en.js +337 -337
- package/public/contentbuilder/lang/fr.js +337 -337
- package/public/contentbuilder/plugins/buttoneditor/plugin.js +1600 -1600
- package/public/contentbuilder/plugins/buttoneditor/readme.txt +6 -6
- package/public/contentbuilder/plugins/helloworld/plugin.js +15 -15
- package/public/contentbuilder/plugins/helloworld/readme.txt +23 -23
- package/public/contentbuilder/plugins/preview/plugin.js +339 -339
- package/public/contentbuilder/plugins/preview/readme.txt +23 -23
- package/public/contentbuilder/plugins/searchreplace/plugin.js +459 -459
- package/public/contentbuilder/plugins/searchreplace/readme.txt +23 -23
- package/public/contentbuilder/plugins/searchreplace/searchreplace.html +264 -264
- package/public/contentbuilder/plugins/showgrid/plugin.js +74 -74
- package/public/contentbuilder/plugins/showgrid/readme.txt +23 -23
- package/public/contentbuilder/plugins/symbols/plugin.js +2876 -2876
- package/public/contentbuilder/plugins/symbols/readme.txt +23 -23
- package/public/contentbuilder/plugins/wordcount/plugin.js +76 -76
- package/public/contentbuilder/plugins/wordcount/readme.txt +23 -23
- package/readme.txt +25 -25
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Preview Plugin
|
|
2
|
-
|
|
3
|
-
To install the plugin, modify config file (contentbuilder\config.js) as follow:
|
|
4
|
-
|
|
5
|
-
_cb.settings.plugins = ['buttoneditor'];
|
|
6
|
-
|
|
1
|
+
Preview Plugin
|
|
2
|
+
|
|
3
|
+
To install the plugin, modify config file (contentbuilder\config.js) as follow:
|
|
4
|
+
|
|
5
|
+
_cb.settings.plugins = ['buttoneditor'];
|
|
6
|
+
|
|
7
7
|
When you click a button, there will be an 'Edit' icon displayed.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Hello World Plugin
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
(function () {
|
|
6
|
-
if(typeof _cb === 'undefined') return;
|
|
7
|
-
|
|
8
|
-
var button_html = '<button id="my_helloworld_button" title="Hello World" style="text-transform:none">hello</button>';
|
|
9
|
-
|
|
10
|
-
_cb.addButton('helloworld', button_html, '#my_helloworld_button', function () {
|
|
11
|
-
|
|
12
|
-
alert('Hello World');
|
|
13
|
-
|
|
14
|
-
});
|
|
15
|
-
|
|
1
|
+
/*
|
|
2
|
+
Hello World Plugin
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
(function () {
|
|
6
|
+
if(typeof _cb === 'undefined') return;
|
|
7
|
+
|
|
8
|
+
var button_html = '<button id="my_helloworld_button" title="Hello World" style="text-transform:none">hello</button>';
|
|
9
|
+
|
|
10
|
+
_cb.addButton('helloworld', button_html, '#my_helloworld_button', function () {
|
|
11
|
+
|
|
12
|
+
alert('Hello World');
|
|
13
|
+
|
|
14
|
+
});
|
|
15
|
+
|
|
16
16
|
})();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
Hello World Plugin
|
|
2
|
-
|
|
3
|
-
To install the plugin, modify config file (contentbuilder\config.js) as follow:
|
|
4
|
-
|
|
5
|
-
_cb.settings.plugins = ['helloworld'];
|
|
6
|
-
|
|
7
|
-
This plugin will add a 'Hello World' button on the 'More' popup on toolbar (click the 'More' button).
|
|
8
|
-
|
|
9
|
-
You can also add the "helloworld" button on the buttons or buttonsMore parameters:
|
|
10
|
-
|
|
11
|
-
var obj = $.contentbuilder({
|
|
12
|
-
...
|
|
13
|
-
buttons: [..., "helloworld", ...]
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
or
|
|
17
|
-
|
|
18
|
-
var obj = $.contentbuilder({
|
|
19
|
-
...
|
|
20
|
-
buttonsMore: [..., "helloworld", ...]
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
For more info about buttons or buttonsMore parameters, please check the ContentBuilder.js readme.txt.
|
|
1
|
+
Hello World Plugin
|
|
2
|
+
|
|
3
|
+
To install the plugin, modify config file (contentbuilder\config.js) as follow:
|
|
4
|
+
|
|
5
|
+
_cb.settings.plugins = ['helloworld'];
|
|
6
|
+
|
|
7
|
+
This plugin will add a 'Hello World' button on the 'More' popup on toolbar (click the 'More' button).
|
|
8
|
+
|
|
9
|
+
You can also add the "helloworld" button on the buttons or buttonsMore parameters:
|
|
10
|
+
|
|
11
|
+
var obj = $.contentbuilder({
|
|
12
|
+
...
|
|
13
|
+
buttons: [..., "helloworld", ...]
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
or
|
|
17
|
+
|
|
18
|
+
var obj = $.contentbuilder({
|
|
19
|
+
...
|
|
20
|
+
buttonsMore: [..., "helloworld", ...]
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
For more info about buttons or buttonsMore parameters, please check the ContentBuilder.js readme.txt.
|