From e7dfa453e439a801866e1dd000ec74bca7541097 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Apr 2023 17:10:38 +0200 Subject: [PATCH] editor: regression breaking widget context menu actions under "Position" submenu --- CHANGELOG.md | 5 +++++ src/client/editor/context-menu.js | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bacb1963..c5a5755e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.24.2 + +- bug fixes + - editor: regression breaking widget context menu actions under "Position" submenu + ## 1.24.1 - bug fixes diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 709e12d3..71a21b32 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -202,28 +202,28 @@ var handleClick = function(event) { { label: locales('editor_back'), action: ()=>{ - editor.handleKeyboard('home') + editor.handleKeydown('home') }, shortcut: 'Home' }, { label: locales('editor_farther'), action: ()=>{ - editor.handleKeyboard('pageup') + editor.handleKeydown('pageup') }, shortcut: 'Page Up' }, { label: locales('editor_closer'), action: ()=>{ - editor.handleKeyboard('pagedown') + editor.handleKeydown('pagedown') }, shortcut: 'Page Down' }, { label: locales('editor_front'), action: ()=>{ - editor.handleKeyboard('end') + editor.handleKeydown('end') }, shortcut: 'End' }