Skip to content

Commit

Permalink
use ELEMENT_DEFAULT
Browse files Browse the repository at this point in the history
  • Loading branch information
archie9211 committed Oct 9, 2023
1 parent b83f555 commit cc83703
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { createComboboxPlugin } from '@udecode/plate-combobox';
import { createCommentsPlugin, MARK_COMMENT } from '@udecode/plate-comments';
import {
createPlugins,
ELEMENT_DEFAULT,
isBlockAboveEmpty,
isSelectionAtBlockStart,
PlateElement,
Expand Down Expand Up @@ -326,7 +327,7 @@ export const plugins = createPlugins(
createDeletePlugin({
options: {
query: {
allow: [ELEMENT_PARAGRAPH],
allow: [ELEMENT_DEFAULT],
},
},
}),
Expand Down

0 comments on commit cc83703

Please sign in to comment.