mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 08:03:50 +00:00
fix css property (#2411)
This commit is contained in:
@@ -35,12 +35,13 @@
|
||||
|
||||
function toggleQuickMenu() {
|
||||
try {
|
||||
if (value.style) {
|
||||
parse(value.style)
|
||||
isQuickMenuOpen = !isQuickMenuOpen
|
||||
if (!value.style) {
|
||||
value.style = ''
|
||||
}
|
||||
parse(value.style)
|
||||
isQuickMenuOpen = !isQuickMenuOpen
|
||||
} catch {
|
||||
sendUserToast('Invalid CSS: Rich editor cannot be open', true)
|
||||
sendUserToast('Invalid CSS: Rich editor cannot be toggled', true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user