Remove local RichText
state in favor of global selection state
#11616
Labels
[Feature] Annotations
Adding annotation functionality
[Feature] Plugins API
Extending the Gutenberg project with plugins via the Plugins API
[Package] Editor
/packages/editor
[Type] Enhancement
A suggestion for improvement.
Milestone
Spinning out from #7718.
@iseulde mentioned that we can drop the local state of
RichText
in favor of the global state introduced in #7718. This does require some investigation, because the local state in theRichText
instances only track their own state. But if they use the global state the all track the state of the lastRichText
that had a selection change. I don't know what consequences this has.The text was updated successfully, but these errors were encountered: