@desynova-digital/player 4.0.15 → 4.0.16
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/components/Shortcut.js +1 -1
- package/package.json +1 -1
package/components/Shortcut.js
CHANGED
|
@@ -745,7 +745,7 @@ var Shortcut = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
745
745
|
if (!player.isActive) {
|
|
746
746
|
return;
|
|
747
747
|
}
|
|
748
|
-
if (document.activeElement && (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') || document.activeElement.className === 'notranslate public-DraftEditor-content') {
|
|
748
|
+
if (document.activeElement && (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') || document.activeElement.className === 'notranslate public-DraftEditor-content' || document.activeElement.className.includes('ql-editor')) {
|
|
749
749
|
return;
|
|
750
750
|
}
|
|
751
751
|
var keyCode = e.keyCode || e.which;
|