@remirror/extension-epic-mode
Advanced tools
Comparing version
{ | ||
"name": "@remirror/extension-epic-mode", | ||
"version": "0.0.0-pr1801.2", | ||
"version": "0.0.0-pr1801.3", | ||
"description": "Epic (power) mode extension for the remirror wysiwyg editor.", | ||
@@ -43,10 +43,10 @@ "keywords": [ | ||
"@babel/runtime": "^7.13.10", | ||
"@remirror/core": "0.0.0-pr1801.2", | ||
"@remirror/messages": "0.0.0-pr1801.2" | ||
"@remirror/core": "0.0.0-pr1801.3", | ||
"@remirror/messages": "0.0.0-pr1801.3" | ||
}, | ||
"devDependencies": { | ||
"@remirror/pm": "0.0.0-pr1801.2" | ||
"@remirror/pm": "0.0.0-pr1801.3" | ||
}, | ||
"peerDependencies": { | ||
"@remirror/pm": "0.0.0-pr1801.2" | ||
"@remirror/pm": "0.0.0-pr1801.3" | ||
}, | ||
@@ -58,3 +58,4 @@ "publishConfig": { | ||
"sizeLimit": "5 KB" | ||
} | ||
}, | ||
"readme": "# @remirror/extension-epic-mode\n\n> Epic (power) mode extension for the remirror wysiwyg editor.\n\n[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)\n\n[version]: https://flat.badgen.net/npm/v/@remirror/extension-epic-mode\n[npm]: https://npmjs.com/package/@remirror/extension-epic-mode\n[license]: https://flat.badgen.net/badge/license/MIT/purple\n[size]: https://bundlephobia.com/result?p=@remirror/extension-epic-mode\n[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/extension-epic-mode\n[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label\n[downloads-badge]: https://badgen.net/npm/dw/@remirror/extension-epic-mode/red?icon=npm\n\n## Installation\n\n```bash\nyarn add @remirror/extension-epic-mode # yarn\npnpm add @remirror/extension-epic-mode # pnpm\nnpm install @remirror/extension-epic-mode # npm\n```\n\nThis is included by default when you install the recommended `remirror` package. All exports are also available via the entry-point, `remirror/extensions`.\n\n## Usage\n\nThe following code sample will create a limited editor and run the available commands from this extension.\n\n```ts\nimport { ExtensionPriority, RemirrorManager } from 'remirror';\nimport { CorePreset, EpicModeExtension } from 'remirror/extensions';\n\n// Create the codeBlock extension\nconst epicModeExtension = new EpicModeExtension();\nconst corePreset = new CorePreset();\n\n// Create the Editor Manager with the codeBlock extension passed through.\nconst manager = RemirrorManager.create([epicModeExtension, corePreset]);\n\n// Pass the dom element to the editor. If you are using `@remirror/react` or\n// other framework wrappers then this is handled for you.\nconst element = document.createElement('div');\ndocument.body.append(element);\n\n// Add the view to the editor manager.\nmanager.addView(element);\n\n// Make the epic mode extension active.\nepicModeExtension.setOptions({ active: true });\n```\n" | ||
} |
82517
2.59%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed