Skip to content

Commit 3fda886

Browse files
authored
feat!: cross-tab-copy-paste can copy more than just blocks (#2571)
* feat: convert cross-tab-copy-paste to typescript * feat!: allow copying more than just blocks * feat: allow customizing local storage key * fix: use localized names for context menu items * fix!: use keyCodes property and remove alt shortcuts * fix: use keyboard ids from core * fix: trim message string if necessary * chore: add workspace comments to test page * chore: remove changes to unrelated package locks * chore: doc fixes
1 parent 6f5d860 commit 3fda886

7 files changed

Lines changed: 537 additions & 348 deletions

File tree

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/cross-tab-copy-paste/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@blockly/plugin-cross-tab-copy-paste",
33
"version": "7.0.1",
4-
"description": "Allows you to copy blocks with cross-tab.",
4+
"description": "Allows copying blocks between multiple tabs with Blockly editors.",
55
"scripts": {
66
"audit:fix": "blockly-scripts auditFix",
77
"build": "blockly-scripts build",
@@ -13,8 +13,7 @@
1313
"test": "blockly-scripts test"
1414
},
1515
"main": "./dist/index.js",
16-
"types": "./src/index.d.ts",
17-
"module": "./src/index.js",
16+
"types": "./dist/index.d.ts",
1817
"unpkg": "./dist/index.js",
1918
"author": "",
2019
"keywords": [
@@ -44,7 +43,7 @@
4443
"@blockly/dev-tools": "^9.0.1"
4544
},
4645
"peerDependencies": {
47-
"blockly": "^12.0.0"
46+
"blockly": "^12.1.0"
4847
},
4948
"publishConfig": {
5049
"access": "public",

plugins/cross-tab-copy-paste/src/index.d.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

plugins/cross-tab-copy-paste/src/index.js

Lines changed: 0 additions & 307 deletions
This file was deleted.

0 commit comments

Comments
 (0)