From f4875f92597d07db3e425405b6d62db56cae2213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 26 Nov 2018 11:19:06 +0100 Subject: [PATCH] add pasteRules to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4820b836..bbafb07e 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,7 @@ The most powerful feature of tiptap is that you can create your own extensions. | `keys({ schema })` | `Object` | `null` | Define some keybindings. | | `commands({ schema, attrs })` | `Object` | `null` | Define a command. | | `inputRules({ schema })` | `Array` | `[]` | Define a list of input rules. | +| `pasteRules({ schema })` | `Array` | `[]` | Define a list of paste rules. | ### Node|Mark Class @@ -295,6 +296,7 @@ The most powerful feature of tiptap is that you can create your own extensions. | `keys({ type, schema })` | `Object` | `null` | Define some keybindings. | | `commands({ type, schema, attrs })` | `Object` | `null` | Define a command. For example this is used for menus to convert to this node or mark. | | `inputRules({ type, schema })` | `Array` | `[]` | Define a list of input rules. | +| `pasteRules({ type, schema })` | `Array` | `[]` | Define a list of paste rules. | | `get plugins()` | `Array` | `[]` | Define a list of [Prosemirror plugins](https://prosemirror.net/docs/guide/). | ### Create a Node