{"id":23889,"date":"2023-12-02T08:00:00","date_gmt":"2023-12-02T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/block-collections\/"},"modified":"2025-06-10T18:11:00","modified_gmt":"2025-06-10T18:11:00","slug":"block-collections","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/block-collections\/","title":{"rendered":"Block Collections"},"content":{"rendered":"<p>When this plugin is installed, the following 9 blocks are registered and can be used not only in the block editor but also in the site editor (tested on WordPress 6.4.2). In principle, each block can be configured with basic styles such as text color, background color, border, and white space, and in some cases it is also possible to set shadows and icons. There are also some that have simple animations set.<br \/>\nBelow is a brief explanation of each block.<br \/>\n1 Design Title<br \/>\nA block that allows you to style HTML heading tags. In addition to the normal style, we have prepared a type that allows you to insert a circular marker, and a type that allows you to add sub copies and icons.<br \/>\n2 Design Text Control<br \/>\nThis is a block that allows you to style text controls and text area controls for HTML input elements. This time, we have prepared a normal box type and a line type. It is now possible to display required inputs, and it is a block that can be used for validation checks as an inner block of the Form Send Block.<br \/>\n3 Design CheckBox<br \/>\nThis is a block that allows you to style checkboxes in HTML input elements. Check animation. At the moment, we only have one type available, but we plan to gradually offer other variations in the future.<br \/>\n4 Design Select<br \/>\nA block that allows you to style HTML SELECT elements. It boasts that the selection element moves with a slightly fancy animation. Supports single selection and multiple selection.<br \/>\n5 Design Process<br \/>\nA block for displaying the input process of form input. It is assumed that it will be used as an inner block for the Guest Contact Block, which will be released soon, and this block will not work on its own.<br \/>\n6 Code HighLight<br \/>\nThis block allows you to enter code in the text area in edit mode and highlight it on the front end. This block uses the Google Code Prettify library for highlighting.<br \/>\n7. Design Table<br \/>\nDisplays the contents of a form object placed on a web page as a data source.<br \/>\nIt is intended to be installed in the input confirmation form as an inner block of Form Send Blocks, which will be released soon.<br \/>\n8. Design Button<br \/>\nYou can choose between regular buttons and submit buttons inside form elements. When you select the regular button, you can select a link to a fixed page and transition to that page.<br \/>\n9. Design Group<br \/>\n\u2013 Its main function is to store blocks and set their arrangement.<br \/>\nThe placement can be selected according to the CSS display property block, flex(row), flex(column), or grid. If you select grid, you can set various grid styles.<br \/>\n\u2013 Compatible with block themes, you can select contentSize and wideSize in the layout clause of theme.json, and you can also set the width to match the content width or freely set the width.<br \/>\n\u2013 By setting it to \u201cMake it a menu\u201d, it will become a hamburger button in mobile mode (displayed on devices with a width of 767px or less), and when you click it, it will stick out from the left.<br \/>\n\u2013 These settings can be set separately for desktop mode (displayed on devices with a width of 768px or more) and mobile mode (displayed on devices with a width of 767px or less).<br \/>\n\u2013 By setting it to be movable, you can adjust the placement by dragging. With this feature installed, the old version of Draggble Box has been discontinued.<br \/>\n10. Design Radio<br \/>\nThis block allows you to set styles for HTML radio button input elements. This time, we have prepared a normal radio button type and a button type. It is possible to add a button to deselect the element.<br \/>\n11. Design Calender<br \/>\n\u2013 This block allows you to select and enter a date from a calendar. You can choose the start day of the week to be Sunday or Monday.<br \/>\n\u2013 You can also set the display of holidays. To set holidays, you need to obtain an API key for the Google Calendar API.<\/p>\n<p>This plugin contains the ability to extend the core blocks: core\/paragraph, core\/image, core\/table, core\/list, and core\/quote.<br \/>\nThe extended core blocks act as inner blocks of the blocks specified by the plugin, so they cannot function independently outside of the plugin.<\/p>\n<ol>\n<li>core\/paragraph<\/li>\n<\/ol>\n<p>\u2013 Added ability to set margins and padding.<br \/>\n\u2013 Added the ability to set line height.<br \/>\n\u2013 A function has been added that allows you to set a maximum height, and if the height exceeds that, a \u201cSee more\u201d button will be displayed and displayed using that button.<br \/>\n2. core\/list<br \/>\n\u2013 Added ability to set margins and padding.<br \/>\n\u2013 Added the ability to set line height.<br \/>\n\u2013 Added the ability to set borderlines and rounded corners.<br \/>\n3. core\/quote<br \/>\n\u2013 Added ability to set margins and padding.<br \/>\n\u2013 Added the ability to set borderlines and rounded corners.<br \/>\n\u2013 Added the ability to set line height.<br \/>\n4. core\/table<br \/>\n\u2013 Added ability to set margins and padding.<br \/>\n\u2013 Added the ability to set borderlines and rounded corners.<br \/>\n5. core\/image<br \/>\n\u2013 Added the ability to choose whether to fit the size to the parent element.<br \/>\n\u2013 Added ability to set margins and padding.<br \/>\n\u2013 Added the ability to set the image size.<\/p>\n<h3>Related Links<\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/itmaroon\/block-collections\" rel=\"nofollow ugc\">block-collections:Github<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/itmaroon\/block-class-package\" rel=\"nofollow ugc\">block-class-package:GitHub<\/a>  <\/li>\n<li><a href=\"https:\/\/packagist.org\/packages\/itmar\/block-class-package\" rel=\"nofollow ugc\">block-class-package:Packagist<\/a> <\/li>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/itmar-block-packages\" rel=\"nofollow ugc\">itmar-block-packages:npm<\/a>  <\/li>\n<li><a href=\"https:\/\/github.com\/itmaroon\/itmar-block-packages\" rel=\"nofollow ugc\">itmar-block-packages:GitHub<\/a><\/li>\n<li><a href=\"https:\/\/console.cloud.google.com\/welcome\" rel=\"nofollow ugc\">Google Cloud Console<\/a><\/li>\n<li>This plugin uses the API of \u201cGoogle Cloud Translation API\u201d.\n<ul>\n<li>Get the project ID and API key obtained by creating a project and enabling the Cloud Translation API from the <a href=\"https:\/\/console.cloud.google.com\/home\/dashboard\" rel=\"nofollow ugc\">Google Cloud Platform dashboard<\/a>.<\/li>\n<li>You can register the authentication information from the setting screen.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Arbitrary section<\/h3>\n<ol>\n<li>In this version, style settings that may require responsiveness can be set separately in desktop mode (displayed on devices with a width of 768px or more) and mobile mode (displayed on devices with a width of 767px or less). It becomes. To tell which setting is set, when you switch the display mode in the block editor or site editor, \u201c(Desktop)\u201d and \u201c(Mobile)\u201d will be displayed in the side menu display.<br \/>\nPlease note that responsiveness for tablet display is not supported.<\/li>\n<li>This plugin has a dependency on the upcoming Form Send Blocks. This plugin requires installation and activation in order to use it.<\/li>\n<li>Regarding the display of text, etc., settings are made using WordPress\u2019s internationalization function, so it is possible to display text in multiple national languages. Currently, English and Japanese notation is possible.<\/li>\n<li>PHP class management is now done using Composer.<br \/>\n<a href=\"https:\/\/github.com\/itmaroon\/block-class-package\" rel=\"nofollow ugc\">GitHub<\/a><br \/>\n<a href=\"https:\/\/packagist.org\/packages\/itmar\/block-class-package\" rel=\"nofollow ugc\">Packagist<\/a> <\/li>\n<li>I decided to make functions and components common to other plugins into npm packages, and install and use them from npm.<br \/>\n<a href=\"https:\/\/www.npmjs.com\/package\/itmar-block-packages\" rel=\"nofollow ugc\">npm<\/a><br \/>\n<a href=\"https:\/\/github.com\/itmaroon\/itmar-block-packages\" rel=\"nofollow ugc\">GitHub<\/a><\/li>\n<li>To set holidays for Design Calendar, you need to obtain an API key for the Google Calendar API.<br \/>\n<a href=\"https:\/\/console.cloud.google.com\/welcome\" rel=\"nofollow ugc\">Google Cloud Console<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>It is a plug-in that collects small scale blocks.<\/p>\n","protected":false},"author":65,"featured_media":242567,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Block Collections - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"It is a plug-in that collects small scale blocks."},"footnotes":""},"categories":[1],"tags":[288,3950,233,1476,33125],"class_list":["post-23889","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-block","tag-design","tag-gutenberg","tag-input","tag-textbox"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/23889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=23889"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/23889\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/242567"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=23889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=23889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=23889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}