PluginProbe
TablePress – Tables in WordPress made easy / 2.2.3
TablePress – Tables in WordPress made easy v2.2.3
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
tablepress / blocks / table / src / index.js

index.js in TablePress – Tables in WordPress made easy 2.2.3, at blocks/table/src/index.js

37 lines 615 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * JavaScript code for the TablePress table block in the block editor.
3 *
4 * @package TablePress
5 * @subpackage Blocks
6 * @author Tobias Bäthge
7 * @since 2.0.0
8 */
9
10 /**
11 * WordPress dependencies.
12 */
13 import { registerBlockType } from '@wordpress/blocks';
14
15 /**
16 * Internal dependencies.
17 */
18 import transforms from './transforms';
19 import edit from './edit';
20 import save from './save';
21 import example from './example';
22
23 /**
24 * Get the block name from the block.json.
25 */
26 import block from '../block.json';
27
28 /**
29 * Register the block.
30 */
31 registerBlockType( block.name, {
32 transforms,
33 edit,
34 save,
35 example,
36 } );
37