@textbus/platform-browser 4.1.0-alpha.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.esm.js +2 -2
- package/bundles/index.js +2 -2
- package/package.json +3 -3
package/bundles/index.esm.js
CHANGED
@@ -1348,7 +1348,7 @@ let MagicInput = class MagicInput extends Input {
|
|
1348
1348
|
key: key,
|
1349
1349
|
altKey: ev.altKey,
|
1350
1350
|
shiftKey: ev.shiftKey,
|
1351
|
-
|
1351
|
+
modKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1352
1352
|
});
|
1353
1353
|
if (is) {
|
1354
1354
|
this.ignoreComposition = true;
|
@@ -1942,7 +1942,7 @@ let NativeInput = class NativeInput extends Input {
|
|
1942
1942
|
key: key,
|
1943
1943
|
altKey: ev.altKey,
|
1944
1944
|
shiftKey: ev.shiftKey,
|
1945
|
-
|
1945
|
+
modKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1946
1946
|
});
|
1947
1947
|
if (is) {
|
1948
1948
|
this.ignoreComposition = true;
|
package/bundles/index.js
CHANGED
@@ -1350,7 +1350,7 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1350
1350
|
key: key,
|
1351
1351
|
altKey: ev.altKey,
|
1352
1352
|
shiftKey: ev.shiftKey,
|
1353
|
-
|
1353
|
+
modKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1354
1354
|
});
|
1355
1355
|
if (is) {
|
1356
1356
|
this.ignoreComposition = true;
|
@@ -1944,7 +1944,7 @@ exports.NativeInput = class NativeInput extends Input {
|
|
1944
1944
|
key: key,
|
1945
1945
|
altKey: ev.altKey,
|
1946
1946
|
shiftKey: ev.shiftKey,
|
1947
|
-
|
1947
|
+
modKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1948
1948
|
});
|
1949
1949
|
if (is) {
|
1950
1950
|
this.ignoreComposition = true;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "4.1.0
|
3
|
+
"version": "4.1.0",
|
4
4
|
"description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
|
5
5
|
"main": "./bundles/index.js",
|
6
6
|
"module": "./bundles/index.esm.js",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/stream": "^1.2.5",
|
29
|
-
"@textbus/core": "^4.1.0
|
30
|
-
"@viewfly/core": "^1.0.
|
29
|
+
"@textbus/core": "^4.1.0",
|
30
|
+
"@viewfly/core": "^1.0.5"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
33
|
"@rollup/plugin-commonjs": "^23.0.2",
|