Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
>
<button> {
toggleList(unorderedListNode)(props.editor).focus()
if (!isList(unorderedListNode)(props.editor)) {
props.switchControls(VisibleControls.All)
}
props.onChange(props.editor)
}}
title="Aufzählung"
>
</button>
<button> props.switchControls(VisibleControls.All)}
title="Untermenü schließen"
>
</button>
)
}
if (
!isList(unorderedListNode)(editor) &&
!isList(orderedListNode)(editor)
) {
toggleList(unorderedListNode)(props.editor).focus()
props.onChange(editor)
}
props.switchControls(VisibleControls.Lists)
}}
title="Listen"
>
<button> {
if (isBlockquote(editor, pluginClosure)) {
removeBlockquote(editor, pluginClosure)
props.onChange(editor)
} else {
createBlockquote(editor, name)
props.onChange(editor)
}
}}
title="Zitat"</button>