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 / category-slate-layout / 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/category-slate-layout/src/index.js

36 lines 926 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WordPress dependencies
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 * Styles are compiled via webpack configuration
15 * See webpack.config.js: "blocks/category-slate-layout/default"
16 */
17
18 registerBlockType('betterdocs/category-slate-layout', {
19 title: __('BetterDocs Slate Layout', 'betterdocs'),
20 description: __('Display knowledge base categories with modern slate-style layout.', 'betterdocs'),
21 category: 'betterdocs',
22 attributes,
23 icon,
24 keywords: [
25 __('betterdocs', 'betterdocs'),
26 __('category slate', 'betterdocs'),
27 __('slate layout', 'betterdocs'),
28 __('modern grid', 'betterdocs'),
29 ],
30 edit: Edit,
31 save: () => null,
32 example: {
33 viewportWidth: 1200,
34 },
35 })
36