mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-19 14:44:39 +01:00
* fix: isBlockActive should use Array.from() The richtext.tsx example `isBlockActive` was not working for me in my environtment because `Editor.nodes` returns a Generator, not an Array. So `isBlockActive` always returned false. Wrapping it in `Array.from` fixes the example. * run prettier Co-authored-by: Dan Tello <dtello@medallia.com>