Skip to content

Commit

Permalink
Update menus.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kandros authored Nov 26, 2022
1 parent 343ce75 commit 71b24fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ There is even support for regular expressions:
editor.isActive('textStyle', { color: /.*/ })
```

You can even nodes and marks, but check for the attributes only. Here is an example with the [`TextAlign`](/api/extensions/text-align) extension:
You can even check nodes and marks, but check for the attributes only. Here is an example with the [`TextAlign`](/api/extensions/text-align) extension:

```js
editor.isActive({ textAlign: 'right' })
Expand Down

0 comments on commit 71b24fc

Please sign in to comment.