fix: typing _+
in wysiwyg not working (#4681)
This commit is contained in:
parent
4b5270ab12
commit
631a228ca1
@ -291,11 +291,11 @@ export const textWysiwyg = ({
|
|||||||
editable.onkeydown = (event) => {
|
editable.onkeydown = (event) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
if (actionZoomIn.keyTest(event)) {
|
if (!event.shiftKey && actionZoomIn.keyTest(event)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
app.actionManager.executeAction(actionZoomIn);
|
app.actionManager.executeAction(actionZoomIn);
|
||||||
updateWysiwygStyle();
|
updateWysiwygStyle();
|
||||||
} else if (actionZoomOut.keyTest(event)) {
|
} else if (!event.shiftKey && actionZoomOut.keyTest(event)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
app.actionManager.executeAction(actionZoomOut);
|
app.actionManager.executeAction(actionZoomOut);
|
||||||
updateWysiwygStyle();
|
updateWysiwygStyle();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user