Skip to content

Commit

Permalink
fix(extension-file): make FileExtension selectable by default (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Aug 10, 2021
1 parent 7aa5e78 commit aa73534
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-dodos-beg.md
@@ -0,0 +1,5 @@
---
'@remirror/extension-file': patch
---

Make `FileExtension` selectable by default.
4 changes: 2 additions & 2 deletions packages/remirror__extension-file/src/file-extension.tsx
Expand Up @@ -81,11 +81,11 @@ export class FileExtension extends NodeExtension<FileOptions> {
fileSize: { default: 0 },
error: { default: null },
},
...override,
selectable: false,
selectable: true,
draggable: true,
atom: true,
content: '',
...override,
parseDOM: [
{
tag: 'div[data-file]',
Expand Down

1 comment on commit aa73534

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://61129256fec24e49cb5758c1--remirror.netlify.app

Please sign in to comment.