UBERF-4566 Fix image toolbar display (#4153)

Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2023-12-06 18:09:36 +07:00 committed by GitHub
parent f802deb893
commit dabf59c379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,7 @@
appendTo: () => boundary ?? element
},
shouldShow: () => {
if (!visible || !readonly || !canShowPopups) {
if (!visible || readonly || !canShowPopups) {
return false
}
return editor?.isActive('image')