From 54b1ec92c9764d875cf4bcd3c99c7f452322421d Mon Sep 17 00:00:00 2001 From: kurudrive Date: Tue, 13 Jun 2023 22:58:30 +0900 Subject: [PATCH 1/7] =?UTF-8?q?=E8=A1=A8=E8=A8=98=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/simple-copy/block.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/simple-copy/block.json b/src/simple-copy/block.json index 5f85a03..bece567 100644 --- a/src/simple-copy/block.json +++ b/src/simple-copy/block.json @@ -3,19 +3,24 @@ "name": "vk-simple-copy-block/simple-copy", "category": "vk-blocks-cat", "title": "Simple Copy", - "description": "A block to copy the code of the block inside the copy target.", + "description": "A block to copy the code of the block inside the Copy Target.", "attributes": { "blockId": { "type": "string" } }, "supports": { - "align": ["wide", "full"], + "align": [ + "wide", + "full" + ], "className": true, "reusable": false }, - "viewScript": ["file:./view.js"], + "viewScript": [ + "file:./view.js" + ], "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css" -} +} \ No newline at end of file From 72226d95bee3b50f2e3d65408ecbe32fad050aa8 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Tue, 13 Jun 2023 23:07:01 +0900 Subject: [PATCH 2/7] =?UTF-8?q?=E6=96=87=E8=A8=80=E8=A1=A8=E8=A8=98?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/copy-button/edit.js | 4 ++-- src/simple-copy/edit.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/copy-button/edit.js b/src/copy-button/edit.js index 921ff22..6a151b8 100644 --- a/src/copy-button/edit.js +++ b/src/copy-button/edit.js @@ -75,10 +75,10 @@ export default function Edit(props) { { setAttributes({ text: value }); diff --git a/src/simple-copy/edit.js b/src/simple-copy/edit.js index 1deab77..03244b8 100644 --- a/src/simple-copy/edit.js +++ b/src/simple-copy/edit.js @@ -84,7 +84,7 @@ export default function InnerCopyEdit(props) { {isParentsSynced && ( {__( - 'Reusable blocks cannot contain simple copy blocks. Either convert it to a normal block or remove it completely.', + 'Reusable blocks cannot contain Simple Copy blocks. Either convert it to a normal block or remove it completely.', 'vk-simple-copy-block' )} @@ -92,7 +92,7 @@ export default function InnerCopyEdit(props) { {isParentsInnerCopyBlock && ( {__( - 'Simple copy blocks cannot be contained within simple copy blocks. Please delete it.', + 'Simple Copy blocks cannot be contained within Simple Copy blocks. Please delete it.', 'vk-simple-copy-block' )} From 608742c2f658376892be061686076693ca377466 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Tue, 13 Jun 2023 23:34:16 +0900 Subject: [PATCH 3/7] modified the block description --- src/copy-target/block.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/copy-target/block.json b/src/copy-target/block.json index fc7d1a8..1cf6ccd 100644 --- a/src/copy-target/block.json +++ b/src/copy-target/block.json @@ -3,8 +3,10 @@ "name": "vk-simple-copy-block/copy-target", "category": "vk-blocks-cat", "title": "Copy Target", - "description": "Block to be copied.", - "parent": ["vk-simple-copy-block/simple-copy"], + "description": "The inner block of this block will be copied.", + "parent": [ + "vk-simple-copy-block/simple-copy" + ], "supports": { "className": true, "spacing": { @@ -28,4 +30,4 @@ "reusable": false }, "editorScript": "file:./index.js" -} +} \ No newline at end of file From a3f3caa761a0fa3b36c06c117e2424f711d4a529 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 14 Jun 2023 17:34:50 +0900 Subject: [PATCH 4/7] change label name --- src/copy-button/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy-button/edit.js b/src/copy-button/edit.js index 6a151b8..4eb45d5 100644 --- a/src/copy-button/edit.js +++ b/src/copy-button/edit.js @@ -75,7 +75,7 @@ export default function Edit(props) { Date: Wed, 14 Jun 2023 17:38:03 +0900 Subject: [PATCH 5/7] inner block -> inner blocks --- src/copy-target/block.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy-target/block.json b/src/copy-target/block.json index 1cf6ccd..25b8f7b 100644 --- a/src/copy-target/block.json +++ b/src/copy-target/block.json @@ -3,7 +3,7 @@ "name": "vk-simple-copy-block/copy-target", "category": "vk-blocks-cat", "title": "Copy Target", - "description": "The inner block of this block will be copied.", + "description": "The inner blocks of this block will be copied.", "parent": [ "vk-simple-copy-block/simple-copy" ], From f2dd657cb6ddc0ef7180eac63da6b134acdb6503 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 14 Jun 2023 18:13:32 +0900 Subject: [PATCH 6/7] Change case --- src/copy-button/edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/copy-button/edit.js b/src/copy-button/edit.js index 4eb45d5..ee31fbc 100644 --- a/src/copy-button/edit.js +++ b/src/copy-button/edit.js @@ -78,14 +78,14 @@ export default function Edit(props) { title={__('Settings', 'vk-simple-copy-block')} > { setAttributes({ text: value }); }} /> { setAttributes({ successText: value }); From be7b54377cc974d26ea1e83819e7c68bc171aeb4 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Thu, 15 Jun 2023 14:18:57 +0900 Subject: [PATCH 7/7] fix : change lower case --- src/copy-button/edit.js | 2 +- src/simple-copy/block.json | 2 +- src/simple-copy/edit.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/copy-button/edit.js b/src/copy-button/edit.js index ee31fbc..349abfc 100644 --- a/src/copy-button/edit.js +++ b/src/copy-button/edit.js @@ -78,7 +78,7 @@ export default function Edit(props) { title={__('Settings', 'vk-simple-copy-block')} > { setAttributes({ text: value }); diff --git a/src/simple-copy/block.json b/src/simple-copy/block.json index bece567..fa8337e 100644 --- a/src/simple-copy/block.json +++ b/src/simple-copy/block.json @@ -3,7 +3,7 @@ "name": "vk-simple-copy-block/simple-copy", "category": "vk-blocks-cat", "title": "Simple Copy", - "description": "A block to copy the code of the block inside the Copy Target.", + "description": "A block to copy the code of the block inside the copy target.", "attributes": { "blockId": { "type": "string" diff --git a/src/simple-copy/edit.js b/src/simple-copy/edit.js index 03244b8..1deab77 100644 --- a/src/simple-copy/edit.js +++ b/src/simple-copy/edit.js @@ -84,7 +84,7 @@ export default function InnerCopyEdit(props) { {isParentsSynced && ( {__( - 'Reusable blocks cannot contain Simple Copy blocks. Either convert it to a normal block or remove it completely.', + 'Reusable blocks cannot contain simple copy blocks. Either convert it to a normal block or remove it completely.', 'vk-simple-copy-block' )} @@ -92,7 +92,7 @@ export default function InnerCopyEdit(props) { {isParentsInnerCopyBlock && ( {__( - 'Simple Copy blocks cannot be contained within Simple Copy blocks. Please delete it.', + 'Simple copy blocks cannot be contained within simple copy blocks. Please delete it.', 'vk-simple-copy-block' )}