We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c9c8c commit 09c134fCopy full SHA for 09c134f
packages/forms/resources/js/components/rich-editor.js
@@ -108,7 +108,11 @@ export default function richEditorFormComponent({
108
pluginKey: `floatingToolbar::${key}`,
109
shouldShow: ({ editor }) => {
110
if (key === 'paragraph') {
111
- return editor.isFocused && editor.isActive(key) && !editor.state.selection.empty
+ return (
112
+ editor.isFocused &&
113
+ editor.isActive(key) &&
114
+ !editor.state.selection.empty
115
+ )
116
}
117
118
return editor.isFocused && editor.isActive(key)
0 commit comments