Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature idea: Highlight toolbar buttons when cursor on text #11
I tried to make this happen when I first built etch since the api seems to allow for it. I can't remember exactly why I gave up but it got overly complicated. I think it was due to the situations where you have multiple tags wrapping a single text range but I can't be sure now.
@ricardorauch I'm confused, is this a question related to highlighting tool bar buttons? Or are you asking a separate question about how to make the toolbar only show up when text is selected? To do that, you'd have to override etch.editableInit to check if the selection is popuplated.