From 89d487921a62ea32aeb5dfe66c50a227428c4655 Mon Sep 17 00:00:00 2001 From: Robin Migalski Date: Fri, 23 Nov 2018 14:14:15 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c0ff427..4820b836 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ The `` component is renderless and will receive some properti | --- | :---: | --- | | `commands` | `Array` | A list of all commands. | | `isActive` | `Object` | An object of functions to check if your selected text is a node or mark. `isActive.{node|mark}(attrs)` | -| `markAttrs` | `Function` | A function to get all mark attributes of your selection. | +| `getMarkAttrs` | `Function` | A function to get all mark attributes of your selection. | | `focused` | `Boolean` | Whether the editor is focused. | | `focus` | `Function` | A function to focus the editor. | @@ -122,7 +122,7 @@ The `` component is renderless and will receive some prope | --- | :---: | --- | | `commands` | `Array` | A list of all commands. | | `isActive` | `Object` | An object of functions to check if your selected text is a node or mark. `isActive.{node|mark}(attrs)` | -| `markAttrs` | `Function` | A function to get all mark attributes of your selection. | +| `getMarkAttrs` | `Function` | A function to get all mark attributes of your selection. | | `focused` | `Boolean` | Whether the editor is focused. | | `focus` | `Function` | A function to focus the editor. | | `menu` | `Object` | An object for positioning your menu. | @@ -156,7 +156,7 @@ The `` component is renderless and will receive some pro | --- | :---: | --- | | `commands` | `Array` | A list of all commands. | | `isActive` | `Object` | An object of functions to check if your selected text is a node or mark. `isActive.{node|mark}(attrs)` | -| `markAttrs` | `Function` | A function to get all mark attributes of your selection. | +| `getMarkAttrs` | `Function` | A function to get all mark attributes of your selection. | | `focused` | `Boolean` | Whether the editor is focused. | | `focus` | `Function` | A function to focus the editor. | | `menu` | `Object` | An object for positioning your menu. |