diff --git a/inc/vk-blocks/languages/vk-blocks-js.pot b/inc/vk-blocks/languages/vk-blocks-js.pot index 12c24566f..5fc0a99df 100644 --- a/inc/vk-blocks/languages/vk-blocks-js.pot +++ b/inc/vk-blocks/languages/vk-blocks-js.pot @@ -877,7 +877,7 @@ msgstr "" msgid "Style" msgstr "" -#: src/blocks/_pro/step/edit.js:37 +#: src/blocks/_pro/step/edit.js:36 msgid "First Dot Number" msgstr "" diff --git a/inc/vk-blocks/languages/vk-blocks.pot b/inc/vk-blocks/languages/vk-blocks.pot index 385070e1f..0038a55ae 100644 --- a/inc/vk-blocks/languages/vk-blocks.pot +++ b/inc/vk-blocks/languages/vk-blocks.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the VK Blocks Pro plugin. msgid "" msgstr "" -"Project-Id-Version: VK Blocks Pro 1.20.5\n" +"Project-Id-Version: VK Blocks Pro 1.20.6\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/vk-blocks-pro\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2021-12-24T00:06:19+00:00\n" +"POT-Creation-Date: 2021-12-27T11:21:58+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.5.0\n" "X-Domain: vk-blocks\n" @@ -302,7 +302,6 @@ msgid "Padding (Bottom)" msgstr "" #: src/blocks/_pro/grid-column-item/edit.js:169 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:31 #: inc/vk-blocks/admin/admin-margin.php:31 msgid "Unit" msgstr "" @@ -312,7 +311,6 @@ msgstr "" #: src/blocks/icon-outer/edit.js:151 #: src/blocks/icon/edit.js:140 #: src/components/advanced-unit-control/index.js:18 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:10 #: inc/vk-blocks/admin/admin-margin.php:10 msgid "px" msgstr "" @@ -322,7 +320,6 @@ msgstr "" #: src/blocks/icon-outer/edit.js:155 #: src/blocks/icon/edit.js:144 #: src/components/advanced-unit-control/index.js:22 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:14 #: inc/vk-blocks/admin/admin-margin.php:14 msgid "em" msgstr "" @@ -332,7 +329,6 @@ msgstr "" #: src/blocks/icon-outer/edit.js:159 #: src/blocks/icon/edit.js:148 #: src/components/advanced-unit-control/index.js:26 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:18 #: inc/vk-blocks/admin/admin-margin.php:18 msgid "rem" msgstr "" @@ -649,7 +645,6 @@ msgstr "" #: src/blocks/_pro/outer/edit.js:566 #: src/blocks/_pro/slider/edit.js:238 #: src/components/advanced-viewport-control/index.js:39 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:62 #: inc/vk-blocks/admin/admin-margin.php:62 msgid "Mobile" msgstr "" @@ -657,7 +652,6 @@ msgstr "" #: src/blocks/_pro/outer/edit.js:581 #: src/blocks/_pro/slider/edit.js:227 #: src/components/advanced-viewport-control/index.js:31 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:61 #: inc/vk-blocks/admin/admin-margin.php:61 msgid "Tablet" msgstr "" @@ -665,7 +659,6 @@ msgstr "" #: src/blocks/_pro/outer/edit.js:596 #: src/blocks/_pro/slider/edit.js:216 #: src/components/advanced-viewport-control/index.js:25 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:60 #: inc/vk-blocks/admin/admin-margin.php:60 msgid "PC" msgstr "" @@ -883,9 +876,6 @@ msgstr "" #: src/blocks/button/edit.js:336 #: src/blocks/icon/edit.js:256 #: src/blocks/staff/edit.js:199 -#: dist/vk-blocks-pro/inc/term-color/package/class.term-color.php:41 -#: dist/vk-blocks-pro/inc/term-color/package/class.term-color.php:56 -#: dist/vk-blocks-pro/inc/term-color/package/class.term-color.php:130 #: inc/term-color/package/class.term-color.php:41 #: inc/term-color/package/class.term-color.php:56 #: inc/term-color/package/class.term-color.php:130 @@ -900,7 +890,7 @@ msgstr "" msgid "Style" msgstr "" -#: src/blocks/_pro/step/edit.js:37 +#: src/blocks/_pro/step/edit.js:36 msgid "First Dot Number" msgstr "" @@ -1119,7 +1109,6 @@ msgstr "" #: src/blocks/border-box/edit.js:51 #: src/blocks/icon-outer/edit.js:132 #: src/blocks/icon/edit.js:121 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:57 #: inc/vk-blocks/admin/admin-margin.php:57 msgid "Margin" msgstr "" @@ -1215,7 +1204,6 @@ msgstr "" #: src/blocks/button/edit.js:215 #: src/blocks/spacer/edit.js:105 -#: dist/vk-blocks-pro/inc/vk-blocks/vk-blocks-functions.php:31 #: inc/vk-blocks/vk-blocks-functions.php:31 msgid "Large" msgstr "" @@ -1223,7 +1211,6 @@ msgstr "" #: src/blocks/button/edit.js:231 #: src/blocks/spacer/edit.js:85 #: src/extensions/common/inline-font-size/index.js:51 -#: dist/vk-blocks-pro/inc/vk-blocks/vk-blocks-functions.php:23 #: inc/vk-blocks/vk-blocks-functions.php:23 msgid "Small" msgstr "" @@ -1642,7 +1629,6 @@ msgid "Spacer Settings" msgstr "" #: src/blocks/spacer/edit.js:95 -#: dist/vk-blocks-pro/inc/vk-blocks/vk-blocks-functions.php:27 #: inc/vk-blocks/vk-blocks-functions.php:27 msgid "Medium" msgstr "" @@ -1717,7 +1703,6 @@ msgid "Card (Image Round)" msgstr "" #: src/components/column-layout-control/index.js:26 -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:733 #: inc/vk-components/package/class-vk-component-posts.php:733 msgid "Card" msgstr "" @@ -1735,7 +1720,6 @@ msgid "Card (Horizontal)" msgstr "" #: src/components/column-layout-control/index.js:42 -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:749 #: inc/vk-components/package/class-vk-component-posts.php:749 msgid "Media" msgstr "" @@ -2094,87 +2078,69 @@ msgstr "" msgid "https://vektor-inc.co.jp" msgstr "" -#: dist/vk-blocks-pro/inc/admin-notices.php:28 #: inc/admin-notices.php:28 msgid "We've released VK Blocks Pro!" msgstr "" #. translators: 1: opening a tag, 2: closing a tag -#: dist/vk-blocks-pro/inc/admin-notices.php:35 #: inc/admin-notices.php:35 msgid "Thank you for using VK Blocks. We've released VK Blocks Pro. It has more custom blocks to build web site more easily. If you are interested in VK Blocks Pro, Please read %1$s this post %2$s for more details." msgstr "" -#: dist/vk-blocks-pro/inc/admin-notices.php:39 -#: dist/vk-blocks-pro/inc/admin-notices.php:45 #: inc/admin-notices.php:39 #: inc/admin-notices.php:45 msgid "https://www.vektor-inc.co.jp/service/wordpress-plugins/vk-blocks/" msgstr "" -#: dist/vk-blocks-pro/inc/admin-notices.php:46 #: inc/admin-notices.php:46 msgid "See more" msgstr "" -#: dist/vk-blocks-pro/inc/admin-notices.php:49 #: inc/admin-notices.php:49 msgid "Dismiss this notice" msgstr "" -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:42 -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:57 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:42 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:57 msgid "Not recommended" msgstr "" -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:89 -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:91 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:89 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:91 msgid "Ex ) " msgstr "" -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:200 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:200 msgid "Font Awesome" msgstr "" -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:223 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:223 msgid "Font Awesome Version" msgstr "" -#: dist/vk-blocks-pro/inc/font-awesome/package/class-vk-font-awesome-versions.php:226 #: inc/font-awesome/package/class-vk-font-awesome-versions.php:226 msgid "4.7 will be abolished in the near future." msgstr "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:72 #: inc/tgm-plugin-activation/tgm-config.php:72 msgid "Install Required Plugins" msgstr "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:73 #: inc/tgm-plugin-activation/tgm-config.php:73 msgid "Install Plugins" msgstr "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:75 #: inc/tgm-plugin-activation/tgm-config.php:75 msgid "Installing Plugin: %s" msgstr "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:76 #: inc/tgm-plugin-activation/tgm-config.php:76 msgid "Something went wrong with the plugin API." msgstr "" #. translators: -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:78 #: inc/tgm-plugin-activation/tgm-config.php:78 msgid "This plugin requires the following plugin: %1$s." msgid_plural "This plugin requires the following plugins: %1$s." @@ -2182,7 +2148,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:84 #: inc/tgm-plugin-activation/tgm-config.php:84 msgid "This plugin recommends the following plugin: %1$s.
Many additional functions are available for free." msgid_plural "This plugin recommends the following plugins: %1$s.
Many additional functions are available for free." @@ -2190,7 +2155,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:90 #: inc/tgm-plugin-activation/tgm-config.php:90 msgid "Sorry, but you do not have the correct permissions to install the %1$s plugin." msgid_plural "Sorry, but you do not have the correct permissions to install the %1$s plugins." @@ -2198,7 +2162,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:96 #: inc/tgm-plugin-activation/tgm-config.php:96 msgid "The following plugin needs to be updated to its latest version to ensure maximum compatibility with this plugin: %1$s." msgid_plural "The following plugins need to be updated to their latest version to ensure maximum compatibility with this plugin: %1$s." @@ -2206,7 +2169,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:102 #: inc/tgm-plugin-activation/tgm-config.php:102 msgid "There is an update available for: %1$s." msgid_plural "There are updates available for the following plugins: %1$s." @@ -2214,7 +2176,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:108 #: inc/tgm-plugin-activation/tgm-config.php:108 msgid "Sorry, but you do not have the correct permissions to update the %1$s plugin." msgid_plural "Sorry, but you do not have the correct permissions to update the %1$s plugins." @@ -2222,7 +2183,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:114 #: inc/tgm-plugin-activation/tgm-config.php:114 msgid "The following required plugin is currently inactive: %1$s." msgid_plural "The following required plugins are currently inactive: %1$s." @@ -2230,7 +2190,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:120 #: inc/tgm-plugin-activation/tgm-config.php:120 msgid "The following recommended plugin is currently inactive: %1$s." msgid_plural "The following recommended plugins are currently inactive: %1$s." @@ -2238,7 +2197,6 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:126 #: inc/tgm-plugin-activation/tgm-config.php:126 msgid "Sorry, but you do not have the correct permissions to activate the %1$s plugin." msgid_plural "Sorry, but you do not have the correct permissions to activate the %1$s plugins." @@ -2246,817 +2204,671 @@ msgstr[0] "" msgstr[1] "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:132 #: inc/tgm-plugin-activation/tgm-config.php:132 msgid "Begin installing plugin" msgid_plural "Begin installing plugins" msgstr[0] "" msgstr[1] "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:137 #: inc/tgm-plugin-activation/tgm-config.php:137 msgid "Begin updating plugin" msgid_plural "Begin updating plugins" msgstr[0] "" msgstr[1] "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:142 #: inc/tgm-plugin-activation/tgm-config.php:142 msgid "Begin activating plugin" msgid_plural "Begin activating plugins" msgstr[0] "" msgstr[1] "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:147 #: inc/tgm-plugin-activation/tgm-config.php:147 msgid "Return to Required Plugins Installer" msgstr "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:148 #: inc/tgm-plugin-activation/tgm-config.php:148 msgid "Plugin activated successfully." msgstr "" -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:149 #: inc/tgm-plugin-activation/tgm-config.php:149 msgid "The following plugin was activated successfully:" msgstr "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:151 #: inc/tgm-plugin-activation/tgm-config.php:151 msgid "No action taken. Plugin %1$s was already active." msgstr "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:153 #: inc/tgm-plugin-activation/tgm-config.php:153 msgid "Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin." msgstr "" #. translators: %s = plugin name. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:155 #: inc/tgm-plugin-activation/tgm-config.php:155 msgid "All plugins installed and activated successfully. %1$s" msgstr "" #. translators: %s = dashboard link. -#: dist/vk-blocks-pro/inc/tgm-plugin-activation/tgm-config.php:157 #: inc/tgm-plugin-activation/tgm-config.php:157 msgid "Please contact the administrator of this site for help." msgstr "" -#: dist/vk-blocks-pro/inc/vk-admin/package/class-vk-admin.php:316 #: inc/vk-admin/package/class-vk-admin.php:316 msgid "Sorry, there is no post" msgstr "" -#: dist/vk-blocks-pro/inc/vk-admin/package/class-vk-admin.php:370 #: inc/vk-admin/package/class-vk-admin.php:370 msgid "Vektor WordPress Information" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks-pro/admin-pro/admin-new-faq.php:13 #: inc/vk-blocks-pro/admin-pro/admin-new-faq.php:13 msgid "Disable accordion" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks-pro/admin-pro/admin-new-faq.php:17 #: inc/vk-blocks-pro/admin-pro/admin-new-faq.php:17 msgid "Enable accordion and default open " msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks-pro/admin-pro/admin-new-faq.php:21 #: inc/vk-blocks-pro/admin-pro/admin-new-faq.php:21 msgid "Enable accordion and default close " msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks-pro/admin-pro/admin-new-faq.php:29 #: inc/vk-blocks-pro/admin-pro/admin-new-faq.php:29 msgid "FAQ Block Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks-pro/admin-pro/admin-pro.php:22 #: inc/vk-blocks-pro/admin-pro/admin-pro.php:22 msgid "FAQ Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:11 #: inc/vk-blocks/admin/admin-balloon.php:11 msgid "Balloon Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:12 #: inc/vk-blocks/admin/admin-balloon.php:12 msgid "Balloon Border Width Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:22 #: inc/vk-blocks/admin/admin-balloon.php:22 msgid "Balloon Image Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:89 #: inc/vk-blocks/admin/admin-balloon.php:89 msgid "You can register frequently used icon images for speech bubble blocks." msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:90 #: inc/vk-blocks/admin/admin-balloon.php:90 msgid "If you change image or name that please click Save Changes button." msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:116 #: inc/vk-blocks/admin/admin-balloon.php:116 msgid "Select" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:119 #: inc/vk-blocks/admin/admin-balloon.php:119 msgid "Delete" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-balloon.php:124 #: inc/vk-blocks/admin/admin-balloon.php:124 msgid "Balloon Image Name" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:27 -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin.php:71 #: inc/vk-blocks/admin/admin-margin.php:27 #: inc/vk-blocks/admin/admin.php:71 msgid "Common Margin Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin-margin.php:28 #: inc/vk-blocks/admin/admin-margin.php:28 msgid "Please specify the size of the common margin used for responsive spacers, etc." msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin.php:47 #: inc/vk-blocks/admin/admin.php:47 msgid "Blocks setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin.php:48 #: inc/vk-blocks/admin/admin.php:48 msgctxt "label in admin menu" msgid "Blocks" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin.php:64 #: inc/vk-blocks/admin/admin.php:64 msgid "Blocks Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/admin/admin.php:70 #: inc/vk-blocks/admin/admin.php:70 msgid "Balloon Block Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/load-bootstrap.php:61 #: inc/vk-blocks/load-bootstrap.php:61 msgid "VK Blocks Bootstrap Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/load-bootstrap.php:81 #: inc/vk-blocks/load-bootstrap.php:81 msgid "Loading Bootstrap4" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/load-bootstrap.php:82 #: inc/vk-blocks/load-bootstrap.php:82 msgid "Check here to load Bootstrap4. If your theme or plugins loading Bootstrap4, uncheck here." msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/load-bootstrap.php:102 #: inc/vk-blocks/load-bootstrap.php:102 msgid "Setting" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/view/class-vk-blocks-postlist.php:187 #: inc/vk-blocks/view/class-vk-blocks-postlist.php:187 msgid "No Post is selected" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/vk-blocks-functions.php:212 #: inc/vk-blocks/vk-blocks-functions.php:212 msgid "Blocks" msgstr "" -#: dist/vk-blocks-pro/inc/vk-blocks/vk-blocks-functions.php:225 #: inc/vk-blocks/vk-blocks-functions.php:225 msgid "Blocks Layout" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:55 #: inc/vk-components/package/class-vk-component-posts.php:55 msgid "Read more" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:57 #: inc/vk-components/package/class-vk-component-posts.php:57 msgid "New!!" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:255 #: inc/vk-components/package/class-vk-component-posts.php:255 msgid "More" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:291 #: inc/vk-components/package/class-vk-component-posts.php:291 msgid "Posts navigation" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:292 #: inc/vk-components/package/class-vk-component-posts.php:292 msgid "Posts" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:294 #: inc/vk-components/package/class-vk-component-posts.php:294 msgid "Page" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:737 #: inc/vk-components/package/class-vk-component-posts.php:737 msgid "Card Noborder" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:741 #: inc/vk-components/package/class-vk-component-posts.php:741 msgid "Card Intext" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:745 #: inc/vk-components/package/class-vk-component-posts.php:745 msgid "Card Horizontal" msgstr "" -#: dist/vk-blocks-pro/inc/vk-components/package/class-vk-component-posts.php:753 #: inc/vk-components/package/class-vk-component-posts.php:753 msgctxt "post list type" msgid "Text 1 Column" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:47 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:47 msgid "CSS Optimize ( Speed up ) Settings" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:66 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:66 msgid "Tree shaking" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:87 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:87 msgid "Tree shaking activation settings" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:91 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:91 msgid "Output only the main CSS of the page inline" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:93 -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:159 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:93 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:159 msgid "Nothing to do" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:94 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:94 msgid "Active Tree shaking (Recomend)" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:111 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:111 msgid "Exclude class of Tree shaking" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:115 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:115 msgid "If you choose \"Active Tree shaking\" that delete the useless css.If you using active css class that please fill in class name. Ex) btn-active,slide-active,scrolled" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:132 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:132 msgid "Preload CSS" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:153 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:153 msgid "Preload CSS activation settings" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:156 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:156 msgid "Preload css except for critical css" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:160 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:160 msgid "Active Preload CSS (Recomend)" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:177 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:177 msgid "Exclude class of Preload CSS" msgstr "" -#: dist/vk-blocks-pro/inc/vk-css-optimize/package/class-vk-css-optimize.php:181 #: inc/vk-css-optimize/package/class-vk-css-optimize.php:181 msgid "If you choose \"Active Preload CSS\" that css load timing was changed.If you have any do not want to preload css file that please fill in handle(id) name. Ex) pluginname_a-style,pluginname_b-css" msgstr "" -#: dist/vk-blocks-pro/src/blocks/page-content/index.php:152 #: src/blocks/page-content/index.php:152 msgid "Edit this area" msgstr "" -#: dist/vk-blocks-pro/vk-blocks.php:98 #: vk-blocks.php:98 msgid "Disabled Blocks module on VK All in One Expansion Unit. Because VK-Blocks Plugin running." msgstr "" -#: dist/vk-blocks-pro/src/blocks/alert/block.json #: src/blocks/alert/block.json msgctxt "block title" msgid "Alert" msgstr "" -#: dist/vk-blocks-pro/src/blocks/alert/block.json #: src/blocks/alert/block.json msgctxt "block description" msgid "A colored box with four statuses, including annotations and alerts." msgstr "" -#: dist/vk-blocks-pro/src/blocks/balloon/block.json #: src/blocks/balloon/block.json msgctxt "block title" msgid "Ballon" msgstr "" -#: dist/vk-blocks-pro/src/blocks/balloon/block.json #: src/blocks/balloon/block.json msgctxt "block description" msgid "These speech balloons are perfect for recreating conversations." msgstr "" -#: dist/vk-blocks-pro/src/blocks/border-box/block.json #: src/blocks/border-box/block.json msgctxt "block title" msgid "Border Box" msgstr "" -#: dist/vk-blocks-pro/src/blocks/border-box/block.json #: src/blocks/border-box/block.json msgctxt "block description" msgid "This is a border box where you can place headings to attract attention." msgstr "" -#: dist/vk-blocks-pro/src/blocks/button/block.json #: src/blocks/button/block.json msgctxt "block title" msgid "Button" msgstr "" -#: dist/vk-blocks-pro/src/blocks/button/block.json #: src/blocks/button/block.json msgctxt "block description" msgid "A button link that can display icons before and after." msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq/block.json #: src/blocks/faq/block.json msgctxt "block title" msgid "Classic FAQ" msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq/block.json #: src/blocks/faq/block.json msgctxt "block description" msgid "Displays a combination of questions and answers." msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2-a/block.json #: src/blocks/faq2-a/block.json msgctxt "block title" msgid "FAQ Answer" msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2-a/block.json #: src/blocks/faq2-a/block.json msgctxt "block description" msgid "Answer area where you can add blocks freely." msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2-q/block.json #: src/blocks/faq2-q/block.json msgctxt "block title" msgid "FAQ Question" msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2-q/block.json #: src/blocks/faq2-q/block.json msgctxt "block description" msgid "Question area where you can freely add blocks." msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2/block.json #: src/blocks/faq2/block.json msgctxt "block title" msgid "New FAQ" msgstr "" -#: dist/vk-blocks-pro/src/blocks/faq2/block.json #: src/blocks/faq2/block.json msgctxt "block description" msgid "It displays a combination of questions and answers. You can freely add blocks to the question area as well." msgstr "" -#: dist/vk-blocks-pro/src/blocks/flow/block.json #: src/blocks/flow/block.json msgctxt "block title" msgid "Flow" msgstr "" -#: dist/vk-blocks-pro/src/blocks/flow/block.json #: src/blocks/flow/block.json msgctxt "block description" msgid "Displays a sequential description in time series." msgstr "" -#: dist/vk-blocks-pro/src/blocks/heading/block.json #: src/blocks/heading/block.json msgctxt "block title" msgid "Heading" msgstr "" -#: dist/vk-blocks-pro/src/blocks/heading/block.json #: src/blocks/heading/block.json msgctxt "block description" msgid "This is a heading that allows you to set text size, subtext, icon, and margin." msgstr "" -#: dist/vk-blocks-pro/src/blocks/icon-outer/block.json #: src/blocks/icon-outer/block.json msgctxt "block title" msgid "Icon Outer" msgstr "" -#: dist/vk-blocks-pro/src/blocks/icon-outer/block.json #: src/blocks/icon-outer/block.json msgctxt "block description" msgid "Display the Font Awesome icons horizontally." msgstr "" -#: dist/vk-blocks-pro/src/blocks/icon/block.json #: src/blocks/icon/block.json msgctxt "block title" msgid "Icon" msgstr "" -#: dist/vk-blocks-pro/src/blocks/icon/block.json #: src/blocks/icon/block.json msgctxt "block description" msgid "Display icons with Font Awesome." msgstr "" -#: dist/vk-blocks-pro/src/blocks/page-content/block.json #: src/blocks/page-content/block.json msgctxt "block title" msgid "Page Content" msgstr "" -#: dist/vk-blocks-pro/src/blocks/page-content/block.json #: src/blocks/page-content/block.json msgctxt "block description" msgid "Displays the body content of the specified parent page." msgstr "" -#: dist/vk-blocks-pro/src/blocks/pr-blocks/block.json #: src/blocks/pr-blocks/block.json msgctxt "block title" msgid "PR Blocks" msgstr "" -#: dist/vk-blocks-pro/src/blocks/pr-blocks/block.json #: src/blocks/pr-blocks/block.json msgctxt "block description" msgid "This is a PR block where you can place images and icon." msgstr "" -#: dist/vk-blocks-pro/src/blocks/pr-content/block.json #: src/blocks/pr-content/block.json msgctxt "block title" msgid "PR Content" msgstr "" -#: dist/vk-blocks-pro/src/blocks/pr-content/block.json #: src/blocks/pr-content/block.json msgctxt "block description" msgid "This is PR content where you can place images, headlines, text, and buttons." msgstr "" -#: dist/vk-blocks-pro/src/blocks/spacer/block.json #: src/blocks/spacer/block.json msgctxt "block title" msgid "Responsive Spacer" msgstr "" -#: dist/vk-blocks-pro/src/blocks/spacer/block.json #: src/blocks/spacer/block.json msgctxt "block description" msgid "Use responsive spacers to get the margins right." msgstr "" -#: dist/vk-blocks-pro/src/blocks/staff/block.json #: src/blocks/staff/block.json msgctxt "block title" msgid "Staff" msgstr "" -#: dist/vk-blocks-pro/src/blocks/staff/block.json #: src/blocks/staff/block.json msgctxt "block description" msgid "Used for staff introduction, company introduction, school introduction, menu, etc." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion-target/block.json #: src/blocks/_pro/accordion-target/block.json msgctxt "block title" msgid "Accordion Target" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion-target/block.json #: src/blocks/_pro/accordion-target/block.json msgctxt "block description" msgid "This is the content area where you can add blocks freely." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion-trigger/block.json #: src/blocks/_pro/accordion-trigger/block.json msgctxt "block title" msgid "Accordion Trigger" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion-trigger/block.json #: src/blocks/_pro/accordion-trigger/block.json msgctxt "block description" msgid "This is the title area where you can freely add blocks." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion/block.json #: src/blocks/_pro/accordion/block.json msgctxt "block title" msgid "Accordion" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/accordion/block.json #: src/blocks/_pro/accordion/block.json msgctxt "block description" msgid "Collapses and hides content when the content is long." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/animation/block.json #: src/blocks/_pro/animation/block.json msgctxt "block title" msgid "Animation" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/animation/block.json #: src/blocks/_pro/animation/block.json msgctxt "block description" msgid "Add animation to elements when scrolling the page." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/button-outer/block.json #: src/blocks/_pro/button-outer/block.json msgctxt "block title" msgid "Button Outer" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/button-outer/block.json #: src/blocks/_pro/button-outer/block.json msgctxt "block description" msgid "Display the VK Button block horizontally." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/card-item/block.json #: src/blocks/_pro/card-item/block.json msgctxt "block title" msgid "Card Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/card-item/block.json #: src/blocks/_pro/card-item/block.json msgctxt "block description" msgid "A single item in a card block." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/card/block.json #: src/blocks/_pro/card/block.json msgctxt "block title" msgid "Card" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/card/block.json #: src/blocks/_pro/card/block.json msgctxt "block description" msgid "A card where you can place images, headings, text, and links." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/child-page/block.json #: src/blocks/_pro/child-page/block.json msgctxt "block title" msgid "Child page list" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/child-page/block.json #: src/blocks/_pro/child-page/block.json msgctxt "block description" msgid "When a parent page is specified, a list of its child pages will be displayed." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/grid-column-item/block.json #: src/blocks/_pro/grid-column-item/block.json msgctxt "block title" msgid "Grid Column Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/grid-column-item/block.json #: src/blocks/_pro/grid-column-item/block.json msgctxt "block description" msgid "One item in a grit column block." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/grid-column/block.json #: src/blocks/_pro/grid-column/block.json msgctxt "block title" msgid "Grid Column" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/grid-column/block.json #: src/blocks/_pro/grid-column/block.json msgctxt "block description" msgid "Set the number of columns to be displayed for each screen size." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/icon-card-item/block.json #: src/blocks/_pro/icon-card-item/block.json msgctxt "block title" msgid "Icon Card Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/icon-card-item/block.json #: src/blocks/_pro/icon-card-item/block.json msgctxt "block description" msgid "This is one item in an icon card." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/icon-card/block.json #: src/blocks/_pro/icon-card/block.json msgctxt "block title" msgid "Icon Card" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/icon-card/block.json #: src/blocks/_pro/icon-card/block.json msgctxt "block description" msgid "Display card with icons, headings, text, and links." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/outer/block.json #: src/blocks/_pro/outer/block.json msgctxt "block title" msgid "Outer" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/outer/block.json #: src/blocks/_pro/outer/block.json msgctxt "block description" msgid "Set the background image, color, and border to show the layout and divisions." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/post-list/block.json #: src/blocks/_pro/post-list/block.json msgctxt "block title" msgid "Post list" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/post-list/block.json #: src/blocks/_pro/post-list/block.json msgctxt "block description" msgid "Displays the list of posts by setting the post type, classification, and number of posts to display." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/select-post-list-item/block.json #: src/blocks/_pro/select-post-list-item/block.json msgctxt "block title" msgid "Selected Post List Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/select-post-list-item/block.json #: src/blocks/_pro/select-post-list-item/block.json msgctxt "block description" msgid "A single item in the select post list." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/select-post-list/block.json #: src/blocks/_pro/select-post-list/block.json msgctxt "block title" msgid "Selected Post List" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/select-post-list/block.json #: src/blocks/_pro/select-post-list/block.json msgctxt "block description" msgid "Displays an arbitrarily specified page with the layout of the posting list." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/slider-item/block.json #: src/blocks/_pro/slider-item/block.json msgctxt "block title" msgid "Slider Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/slider-item/block.json #: src/blocks/_pro/slider-item/block.json msgctxt "block description" msgid "This is one item in the slider." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/slider/block.json #: src/blocks/_pro/slider/block.json msgctxt "block title" msgid "Slider" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/slider/block.json #: src/blocks/_pro/slider/block.json msgctxt "block description" msgid "This slider allows you to place various items.Slider is do not move in edit screen." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/step-item/block.json #: src/blocks/_pro/step-item/block.json msgctxt "block title" msgid "Step Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/step-item/block.json #: src/blocks/_pro/step-item/block.json msgctxt "block description" msgid "This element sets the icon, color, and style of the step mark." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/step/block.json #: src/blocks/_pro/step/block.json msgctxt "block title" msgid "Step" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/step/block.json #: src/blocks/_pro/step/block.json msgctxt "block description" msgid "Set and display step marks, which are useful when explaining the order." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/table-of-contents-new/block.json #: src/blocks/_pro/table-of-contents-new/block.json msgctxt "block title" msgid "Table of Contents" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/table-of-contents-new/block.json #: src/blocks/_pro/table-of-contents-new/block.json msgctxt "block description" msgid "This is a table of contents that is automatically generated according to the headings when added." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/timeline-item/block.json #: src/blocks/_pro/timeline-item/block.json msgctxt "block title" msgid "Timeline Item" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/timeline-item/block.json #: src/blocks/_pro/timeline-item/block.json msgctxt "block description" msgid "This element sets the label, color, and style of the timeline." msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/timeline/block.json #: src/blocks/_pro/timeline/block.json msgctxt "block title" msgid "Timeline" msgstr "" -#: dist/vk-blocks-pro/src/blocks/_pro/timeline/block.json #: src/blocks/_pro/timeline/block.json msgctxt "block description" msgid "Displays a simple schedule and other information that is useful for explaining the order." diff --git a/readme.txt b/readme.txt index 17a6a769d..fdb1b5a88 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: Tags: Gutenberg,FAQ,alert Requires at least: 5.7 Tested up to: 5.8.2 -Stable tag: 1.20.6 +Stable tag: 1.20.7 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -63,8 +63,12 @@ e.g. == Changelog == -= 1.20.6 = += 1.20.7 = [ Bug fix ][ Heading ] cope with custom color palette +[ Bug fix ][ Heading ] Fix recovery + += 1.20.6 = +[ Bug fix ][ Heading ] Fix recovery [ Bug fix ][ Button ] change option order in panel [ Bug fix ][ Grid Column(Pro) ] cope with custom color palette [ Bug fix ][ Heading ] cope with custom color palette diff --git a/src/blocks/_pro/outer/style.scss b/src/blocks/_pro/outer/style.scss index 80bf2c23d..8cfd7eb21 100644 --- a/src/blocks/_pro/outer/style.scss +++ b/src/blocks/_pro/outer/style.scss @@ -133,7 +133,7 @@ $padding-xxl: 4em; // iPhone の時に fixed のままだとバグで反応せずに画像のcoverまで効かなくなって巨大な画像が表示されるので // scroll で上書きする @supports (-webkit-overflow-scrolling: touch) { - background-attachment: scroll; + background-attachment: scroll !important; } } diff --git a/src/blocks/heading/deprecated/1.7.0/save.js b/src/blocks/heading/deprecated/1.7.0/save.js new file mode 100644 index 000000000..ff16fe4dd --- /dev/null +++ b/src/blocks/heading/deprecated/1.7.0/save.js @@ -0,0 +1,164 @@ +import { RichText, useBlockProps } from '@wordpress/block-editor'; + +import ReactHtmlParser from 'react-html-parser'; + +const renderTitle = (level, contents, tStyle, headingStyle) => { + switch (level) { + case 1: + return ( +

+ {contents} +

+ ); + case 2: + return ( +

+ {contents} +

+ ); + case 3: + return ( +

+ {contents} +

+ ); + case 4: + return ( +

+ {contents} +

+ ); + case 5: + return ( +
+ {contents} +
+ ); + case 6: + return ( +
+ {contents} +
+ ); + } +}; + +export default function save(props) { + const { attributes } = props; + let { + level, + align, + title, + titleColor, + titleSize, + subText, + subTextFlag, + subTextColor, + subTextSize, + titleStyle, + titleMarginBottom, + outerMarginBottom, + fontAwesomeIconBefore, + fontAwesomeIconAfter, + fontAwesomeIconColor, + } = attributes; + const containerClass = `vk_heading vk_heading-style-${titleStyle}`; + + const cStyle = { + marginBottom: + outerMarginBottom !== null && outerMarginBottom !== undefined + ? outerMarginBottom + `rem` + : undefined, + }; + + const tStyle = { + color: + titleColor !== null && titleColor !== undefined + ? titleColor + : undefined, + fontSize: + titleSize !== null && titleSize !== undefined + ? titleSize + 'rem' + : undefined, + marginBottom: + titleMarginBottom !== null && titleMarginBottom !== undefined + ? titleMarginBottom + 'rem' + : undefined, + textAlign: align !== null && align !== undefined ? align : undefined, + }; + + const headingStyle = `vk_heading_title vk_heading_title-style-${titleStyle}`; + const subTextStyle = { + color: + subTextColor !== null && subTextColor !== undefined + ? subTextColor + : undefined, + fontSize: + subTextSize !== null && subTextSize !== undefined + ? subTextSize + 'rem' + : undefined, + textAlign: align !== null && align !== undefined ? align : undefined, + }; + const subTextClass = `vk_heading_subtext vk_heading_subtext-style-${titleStyle}`; + + let iconBefore = ''; + let iconAfter = ''; + if (fontAwesomeIconBefore) { + //for recovering block + fontAwesomeIconColor = fontAwesomeIconColor + ? fontAwesomeIconColor + : '#000000'; + + //add inline css + const faIconFragmentBefore = fontAwesomeIconBefore.split(' + {ReactHtmlParser(iconBefore)} + + {ReactHtmlParser(iconAfter)} + + ); + + let subtextContent; + if (subTextFlag === 'on') { + subtextContent = ( + + ); + } + + const blockProps = useBlockProps.save({ + className: ``, + }); + + return ( +
+
+ {renderTitle(level, titleContent, tStyle, headingStyle)} + {subtextContent} +
+
+ ); +} diff --git a/src/blocks/heading/deprecated/index.js b/src/blocks/heading/deprecated/index.js index 4016ba642..75743a6c5 100644 --- a/src/blocks/heading/deprecated/index.js +++ b/src/blocks/heading/deprecated/index.js @@ -11,6 +11,7 @@ import save0_40_0 from './0.40.0/save'; import save0_40_1 from './0.40.1/save'; import save0_60_1 from './0.60.1/save'; import save1_3_2 from './1.3.2/save'; +import save1_7_0 from './1.7.0/save'; import save1_9_1 from './1.9.1/save'; import save1_20_5 from './1.20.5/save'; import save1_20_5a from './1.20.5a/save'; @@ -68,13 +69,18 @@ const blockAttributes = { }; const blockAttributes2 = { + ...blockAttributes, anchor: { type: 'string', source: 'attribute', attribute: 'id', selector: '*', }, - ...blockAttributes, +} + + +const blockAttributes3 = { + ...blockAttributes2, title: { type: 'string', source: 'html', @@ -95,12 +101,40 @@ const blockAttributes2 = { }, } -const blockAttributes3 = { - ...blockAttributes2, +const blockAttributes4 = { + ...blockAttributes3, + subTextFlag: { + type: 'string', + default: 'off' + }, +} + +const blockAttributes5 = { + ...blockAttributes4, outerMarginBottom: { type: 'number', default: 0 }, + titleMarginBottom: { + type: "number", + default: 1 + }, + titleColor: { + type: "string", + default: "#000000" + }, + subTextColor: { + type: "string", + default: "#000000" + }, +} + +const blockAttributes6 = { + ...blockAttributes5, + outerMarginBottom: { + type: 'number', + default: null + }, titleMarginBottom: { type: "number", default: null @@ -113,10 +147,6 @@ const blockAttributes3 = { type: "string", default: null }, - subTextFlag: { - type: 'string', - default: "off" - }, fontAwesomeIconColor: { type: 'string', default: "#000000", @@ -124,8 +154,8 @@ const blockAttributes3 = { } /* 1.9.1 で titleSize とsubTextSize を変更 */ -const blockAttributes4 = { - ...blockAttributes3, +const blockAttributes7 = { + ...blockAttributes6, titleSize: { type: 'number', default: 2, @@ -134,28 +164,6 @@ const blockAttributes4 = { type: 'number', default: 1.2, }, -} - -const blockAttributes5 = { - ...blockAttributes4, - outerMarginBottom: { - type: "number", - default: null - }, - titleColor: { - type: "string", - }, - titleSize: { - type: 'number', - }, - titleMarginBottom: { - type: "number", - default: null - }, - subTextFlag: { - type: "string", - default: "off" - }, subTextColor: { type: "string", }, @@ -167,117 +175,75 @@ const blockAttributes5 = { }, } -const deprecated = [ - { - attributes: blockAttributes5, - save: save1_20_5a, +const blockAttributes8 = { + ...blockAttributes7, + titleColor: { + type: "string", }, - { - attributes: blockAttributes5, - save: save1_20_5, + titleSize: { + type: 'number', }, +} + +const deprecated = [ { - attributes: blockAttributes4, + attributes: blockAttributes8, save: save1_20_5, }, { - attributes: blockAttributes3, + attributes: blockAttributes7, save: save1_9_1, }, { - attributes: blockAttributes3, + attributes: blockAttributes6, + save: save1_7_0, + }, + { + attributes: blockAttributes5, save: save1_3_2, }, { - attributes: blockAttributes2, + attributes: blockAttributes4, save: save0_60_1, }, { - attributes: blockAttributes2, + attributes: blockAttributes4, save: save0_40_1, }, { - attributes: blockAttributes2, + attributes: blockAttributes3, save: save0_40_0, }, { - attributes: blockAttributes2, + attributes: blockAttributes3, save: save0_39_5, }, { - attributes: blockAttributes2, + attributes: blockAttributes3, save: save0_37_1, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_7, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_6, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_5, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_4, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_3, }, { - attributes: { - ...blockAttributes, - anchor: { - type: 'string', - source: 'attribute', - attribute: 'id', - selector: '*', - }, - }, + attributes: blockAttributes2, save: save0_24_2, }, { diff --git a/vk-blocks.php b/vk-blocks.php index ced621ba9..a383299e0 100644 --- a/vk-blocks.php +++ b/vk-blocks.php @@ -3,8 +3,8 @@ * Plugin Name: VK Blocks Pro * Plugin URI: https://github.com/vektor-inc/vk-blocks * Description: This is a plugin that extends Gutenberg's blocks. - * Version: 1.20.6 - * Stable tag: 1.20.6 + * Version: 1.20.7 + * Stable tag: 1.20.7 * Requires at least: 5.7 * Author: Vektor,Inc. * Author URI: https://vektor-inc.co.jp