{"repo":"evermade/wp-block-toolkit","free":true,"listed":false,"github":"https://github.com/evermade/wp-block-toolkit","clone":"git clone https://github.com/evermade/wp-block-toolkit.git","description":"Toolkit for developing WordPress Gutenberg blocks.","language":"JavaScript","stars":19,"topics":["wordpress","gutenberg"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"WordPress Block Toolkit A collection of tools for WordPress Gutenberg block building. Styles To include the editor styles, add this to the top of your block's editor.scss : @import \" @evermade/wp-block-toolkit/build/index.css\"; Components FocalPointImage Purely presentational component, which helps work with the FocalPointPicker from @wordpress/components . Renders a standard element from data received from the MediaUpload flow. See below for all available props. Image Simple presentational component, which renders a standard element from data format which is received from the MediaUpload flow. For example instead of src it uses an url prop etc. If you use an image object saved from the MediaUpload flow, you can simply do: ImageControl Simple image upload and replacement flow for managing media. By setting the showPreview prop to false , you can build a custom image preview component. ; ; InlineNotice Compliments the base WordPress notice system by allowing you to show either warning or error level notices inside the editor. PostControl Custom ComboboxControl for selecting a single post. Takes an array of post objects and returns and id number on change. PostSearchControl For selecting a single post from a large pool of posts. More performant than PostControl at the cost of requiring additional user input. As a further performance optimization, by default shows only 20 results and a \"View more results\" button. You can configure the number of initial results with the numOfInit","default_branch":null,"files":null,"tree":[],"storefront":"/r/evermade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/evermade/wp-block-toolkit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}