PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.11.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.11.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
visualizer / classes / Visualizer / Gutenberg / src / index.js

index.js in Visualizer – Tables & Charts Manager with Built-in AI Generator 3.11.7, at classes/Visualizer/Gutenberg/src/index.js

64 lines 1012 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Block dependencies
3 */
4 import EditorArea from './Editor.js';
5
6 import './style.scss';
7
8 /**
9 * Internal block libraries
10 */
11 const { __ } = wp.i18n;
12
13 const { registerBlockType } = wp.blocks;
14
15 /**
16 * Register block
17 */
18 export default registerBlockType( 'visualizer/chart', {
19
20 // Block Title
21 title: __( 'Visualizer Chart' ),
22
23 // Block Description
24 description: __( 'A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages.' ),
25
26 // Block Category
27 category: 'common',
28
29 // Block Icon
30 icon: 'chart-pie',
31
32 // Block Keywords
33 keywords: [
34 __( 'Visualizer' ),
35 __( 'Chart' ),
36 __( 'Google Charts' )
37 ],
38 attributes: {
39 id: {
40 type: 'number'
41 },
42 lazy: {
43 default: '-1',
44 type: 'string'
45 },
46 route: {
47 type: 'string'
48 }
49 },
50 supports: {
51 customClassName: false
52 },
53
54 // Defining the edit interface
55 edit: EditorArea,
56
57 // Defining the front-end interface
58 save() {
59
60 // Rendering in PHP
61 return null;
62 }
63 });
64