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

27 lines 704 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from "@wordpress/i18n";
2 import { registerBlockType } from "@wordpress/blocks";
3
4 import Edit from "./edit";
5 import attributes from "./attributes";
6 import icon from "./icon";
7
8 registerBlockType("betterdocs/betterdocs-print", {
9 title: __("BetterDocs Print Button", "betterdocs"),
10 description: __(
11 "Print Button lets your users simply just hit the button, save as PDF & print the documentation.",
12 "betterdocs",
13 ),
14 category: "betterdocs",
15 attributes,
16 icon,
17 keywords: [
18 __("betterdocs", "betterdocs"),
19 __("category box", "betterdocs"),
20 ],
21 edit: Edit,
22 save: () => null,
23 example: {
24 viewportWidth: 1200,
25 },
26 });
27