From dfe98f885cbaee227daefef7cbcb7dcf25d183f7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 22 Feb 2020 12:29:49 +0100 Subject: [PATCH] Workaround for malformed nested lists in Chromium browsers --- .../js/3rdParty/redactor2/plugins/WoltLabKeyup.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeyup.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeyup.js index 55e18f5e76..2468d00e93 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeyup.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabKeyup.js @@ -43,6 +43,17 @@ $.Redactor.prototype.WoltLabKeyup = function() { } } + // Chromium browsers will cripple a nested list when exiting with [Enter], causing lists + // to become siblings of the previously parent
  • . This leads to situations where the + // code `