Skip to content

Commit

Permalink
fix(plugin-text): extra prevent default fixes #3298
Browse files Browse the repository at this point in the history
  • Loading branch information
elbotho committed Jan 22, 2024
1 parent fa2f70d commit 6268c26
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const useEditablePasteHandler = (args: UseEditablePasteHandlerArgs) => {
mayManipulateSiblings &&
checkIsAllowedNesting(pluginDocument.plugin, typesOfAncestors)
) {
event.preventDefault() // extra prevent for firefox to make it work 🤷
media = {
pluginType: pluginDocument.plugin,
state: pluginDocument.state,
Expand Down

0 comments on commit 6268c26

Please sign in to comment.