stevengharris/MarkupEditor

Fix Toolbar selection state when selection spans multiple elements

stevengharris opened this issue · 0 comments

With operations supported when multiple elements are selected, the SelectionState needs to stop relying on anchorNode. In some cases the SelectionState is preventing an operation from being applied across multiple elements because it is used to determine is Toolbar buttons are disabled.