PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / gutenberg / blocks / categorygrid / src / index.js

index.js in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/gutenberg/blocks/categorygrid/src/index.js

34 lines 754 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WordPress dependeincies
3 */
4 import { __ } from '@wordpress/i18n';
5 import { registerBlockType } from '@wordpress/blocks';
6
7 /**
8 * Internal dependencies
9 */
10 import Edit from './edit'
11 import attributes from './attributes'
12 import icon from './icon'
13 /**
14 * Import styles
15 */
16 import './style.scss'
17
18 registerBlockType('betterdocs/categorygrid', {
19 title: __('BetterDocs Category Grid', 'betterdocs'),
20 description: __('Represent knowledge base categories with amazing grid view.', 'betterdocs'),
21 category: 'betterdocs',
22 attributes,
23 icon,
24 keywords: [
25 __('betterdocs', 'betterdocs'),
26 __('category grid', 'betterdocs'),
27 ],
28 edit: Edit,
29 save: () => null,
30 example: {
31 viewportWidth: 1200,
32 },
33 })
34