Skip to content

Commit

Permalink
Merge pull request #30 from vektor-inc/update/disable-html-editing
Browse files Browse the repository at this point in the history
インナーブロックを持つブロックはブロックが壊れるためHTML編集を無効化
  • Loading branch information
osmdik authored Jul 10, 2023
2 parents 8485258 + 828875d commit 4db925c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ e.g.

== Changelog ==

[ Specification Change ] Disable HTML editing for blocks with inner blocks, as the blocks are broken.

= 0.1.2 =
[ Fix ] Translation

Expand Down
1 change: 1 addition & 0 deletions src/copy-button-wrap/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}
},
"supports": {
"html": false,
"className": true,
"spacing": {
"margin": ["top", "bottom"]
Expand Down
3 changes: 2 additions & 1 deletion src/copy-target/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"vk-simple-copy-block/simple-copy"
],
"supports": {
"html": false,
"className": true,
"spacing": {
"padding": true,
Expand All @@ -31,4 +32,4 @@
"reusable": false
},
"editorScript": "file:./index.js"
}
}
3 changes: 2 additions & 1 deletion src/simple-copy/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}
},
"supports": {
"html": false,
"align": [
"wide",
"full"
Expand All @@ -24,4 +25,4 @@
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css"
}
}

0 comments on commit 4db925c

Please sign in to comment.