@remirror/extension-file
v2.0.1
Published
> Add files to your editor.
Downloads
1,580
Readme
@remirror/extension-file
Add files to your editor.
Installation
yarn add @remirror/extension-file # yarn
pnpm add @remirror/extension-file # pnpm
npm install @remirror/extension-file # npm
This is NOT included by default when you install the recommended remirror
package.
import { FileExtension } from '@remirror/extension-file';
The extension is provided by the @remirror/extension-file
package.
Usage
The following code creates an instance of this extension.
import { DropCursorExtension } from 'remirror/extensions';
import { FileExtension } from '@remirror/extension-file';
const extension = new FileExtension();