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 / searchbox / 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/searchbox/src/index.js

35 lines 726 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 /**
15 * Import styles
16 */
17 import "./style.scss";
18
19 registerBlockType("betterdocs/searchbox", {
20 title: __("BetterDocs Search Form", "betterdocs"),
21 description: __(
22 "Simple search forms for easy user guidance for your knowledge base.",
23 "betterdocs"
24 ),
25 category: "betterdocs",
26 attributes,
27 icon,
28 keywords: [__("better docs", "betterdocs"), __("Search Box", "betterdocs")],
29 edit: Edit,
30 save: () => null,
31 example: {
32 viewportWidth: 1200,
33 },
34 });
35