@textbus/platform-browser 3.7.10 → 3.8.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 +12 -2
- package/bundles/index.js +12 -2
- package/package.json +2 -2
package/bundles/index.esm.js
CHANGED
@@ -1831,7 +1831,12 @@ let MagicInput = class MagicInput extends Input {
|
|
1831
1831
|
key: key,
|
1832
1832
|
altKey: ev.altKey,
|
1833
1833
|
shiftKey: ev.shiftKey,
|
1834
|
-
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1834
|
+
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey,
|
1835
|
+
agent: {
|
1836
|
+
key: ev.key,
|
1837
|
+
code: ev.code,
|
1838
|
+
keyCode: ev.keyCode,
|
1839
|
+
}
|
1835
1840
|
});
|
1836
1841
|
if (is) {
|
1837
1842
|
this.ignoreComposition = true;
|
@@ -2209,7 +2214,12 @@ let NativeInput = class NativeInput extends Input {
|
|
2209
2214
|
key: key,
|
2210
2215
|
altKey: ev.altKey,
|
2211
2216
|
shiftKey: ev.shiftKey,
|
2212
|
-
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
2217
|
+
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey,
|
2218
|
+
agent: {
|
2219
|
+
key: ev.key,
|
2220
|
+
keyCode: ev.keyCode,
|
2221
|
+
code: ev.code
|
2222
|
+
}
|
2213
2223
|
});
|
2214
2224
|
if (is) {
|
2215
2225
|
this.ignoreComposition = true;
|
package/bundles/index.js
CHANGED
@@ -1833,7 +1833,12 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1833
1833
|
key: key,
|
1834
1834
|
altKey: ev.altKey,
|
1835
1835
|
shiftKey: ev.shiftKey,
|
1836
|
-
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
1836
|
+
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey,
|
1837
|
+
agent: {
|
1838
|
+
key: ev.key,
|
1839
|
+
code: ev.code,
|
1840
|
+
keyCode: ev.keyCode,
|
1841
|
+
}
|
1837
1842
|
});
|
1838
1843
|
if (is) {
|
1839
1844
|
this.ignoreComposition = true;
|
@@ -2211,7 +2216,12 @@ exports.NativeInput = class NativeInput extends Input {
|
|
2211
2216
|
key: key,
|
2212
2217
|
altKey: ev.altKey,
|
2213
2218
|
shiftKey: ev.shiftKey,
|
2214
|
-
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey
|
2219
|
+
ctrlKey: this.isMac ? ev.metaKey : ev.ctrlKey,
|
2220
|
+
agent: {
|
2221
|
+
key: ev.key,
|
2222
|
+
keyCode: ev.keyCode,
|
2223
|
+
code: ev.code
|
2224
|
+
}
|
2215
2225
|
});
|
2216
2226
|
if (is) {
|
2217
2227
|
this.ignoreComposition = true;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.8.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",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/di": "^1.1.8",
|
29
29
|
"@tanbo/stream": "^1.2.5",
|
30
|
-
"@textbus/core": "^3.
|
30
|
+
"@textbus/core": "^3.8.0",
|
31
31
|
"reflect-metadata": "^0.1.13"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|