Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentences and lower case tuning #25

Merged
merged 7 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/copy-button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ export default function Edit(props) {
</BlockControls>
<InspectorControls>
<PanelBody
title={__('Copy button setting', 'vk-simple-copy-block')}
title={__('Settings', 'vk-simple-copy-block')}
>
<TextControl
label={__('Copy button Text', 'vk-simple-copy-block')}
label={__('Copy button text', 'vk-simple-copy-block')}
value={!!text ? text : ''}
onChange={(value) => {
setAttributes({ text: value });
}}
/>
<TextControl
label={__('Copy complete Text', 'vk-simple-copy-block')}
label={__('Copy complete text', 'vk-simple-copy-block')}
value={!!successText ? successText : ''}
onChange={(value) => {
setAttributes({ successText: value });
Expand Down
8 changes: 5 additions & 3 deletions src/copy-target/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 blocks of this block will be copied.",
"parent": [
"vk-simple-copy-block/simple-copy"
],
"supports": {
"className": true,
"spacing": {
Expand All @@ -28,4 +30,4 @@
"reusable": false
},
"editorScript": "file:./index.js"
}
}
11 changes: 8 additions & 3 deletions src/simple-copy/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@
}
},
"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"
}
}