prosemirror-paste-rules
Advanced tools
Comparing version 2.0.0-beta.12 to 2.0.0-beta.13
{ | ||
"name": "prosemirror-paste-rules", | ||
"version": "2.0.0-beta.12", | ||
"version": "2.0.0-beta.13", | ||
"description": "Better handling of pasted content in your prosemirror editor.", | ||
@@ -34,4 +34,4 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-paste-rules", | ||
"@babel/runtime": "^7.13.10", | ||
"@remirror/core-constants": "^2.0.0-beta.12", | ||
"@remirror/core-helpers": "^2.0.0-beta.12", | ||
"@remirror/core-constants": "^2.0.0-beta.13", | ||
"@remirror/core-helpers": "^2.0.0-beta.13", | ||
"escape-string-regexp": "^4.0.0" | ||
@@ -55,3 +55,4 @@ }, | ||
"sizeLimit": "10 KB" | ||
} | ||
}, | ||
"readme": "# prosemirror-paste-rules\n\n> Better handling of pasted content in the 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/prosemirror-paste-rules\n[npm]: https://npmjs.com/package/prosemirror-paste-rules\n[license]: https://flat.badgen.net/badge/license/MIT/purple\n[size]: https://bundlephobia.com/result?p=prosemirror-paste-rules\n[size-badge]: https://flat.badgen.net/bundlephobia/minzip/prosemirror-paste-rules\n[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label\n[downloads-badge]: https://badgen.net/npm/dw/prosemirror-paste-rules/red?icon=npm\n\n<br />\n\n## The problem\n\nYou want to automatically transform pasted content within your editor into nodes marks, or different text.\n\n## This solution\n\n`prosemirror-paste-rules` allows the transformation of plain text pasted content into marks and nodes.\n\n<br />\n\n## Installation\n\n```bash\n# yarn\nyarn add prosemirror-paste-rules prosemirror-view prosemirror-state prosemirror-keymap\n\n# pnpm\npnpm add prosemirror-paste-rules prosemirror-view prosemirror-state prosemirror-keymap\n\n# npm\nnpm install prosemirror-paste-rules prosemirror-view prosemirror-state prosemirror-keymap\n```\n\nThe installation requires the installation of the peer dependencies `prosemirror-view`, `prosemirror-state` and `prosemirror-model` to avoid version clashes.\n\n<br />\n\n## Getting Started\n\n```ts\nimport { paste } from 'prosemirror-paste-rules';\nimport { schema } from 'prosemirror-schema-basic';\n\n// Include the plugin in the created editor state.\nconst state = EditorState.create({\n schema,\n plugins: [paste([])],\n});\n```\n" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74712