@innovastudio/contentbuilder 1.5.71 → 1.5.72
Sign up to get free protection for your applications and to get access to all the features.
package/readme.txt
CHANGED
@@ -1,23 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Plugin Example
|
3
|
-
*/
|
4
|
-
|
5
|
-
(function () {
|
6
|
-
if(typeof _cb === 'undefined') return;
|
7
|
-
|
8
|
-
var button_html = `<button id="my_formbuilder_button" title="Form Builder" style="text-transform:none">
|
9
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-forms"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a3 3 0 0 0 -3 3v12a3 3 0 0 0 3 3" /><path d="M6 3a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3" /><path d="M13 7h7a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-7" /><path d="M5 7h-1a1 1 0 0 0 -1 1v8a1 1 0 0 0 1 1h1" /><path d="M17 12h.01" /><path d="M13 12h.01" /></svg>
|
10
|
-
</button>`;
|
11
|
-
|
12
|
-
_cb.addButton('formbuilder', button_html, '#my_formbuilder_button', function () {
|
13
|
-
|
14
|
-
alert('Form Builder');
|
15
|
-
|
16
|
-
});
|
17
|
-
_cb.addButton2('formbuilder', button_html, '#my_formbuilder_button', function () {
|
18
|
-
|
19
|
-
alert('Form Builder');
|
20
|
-
|
21
|
-
});
|
22
|
-
|
23
|
-
})();
|