ep_comments_page icon indicating copy to clipboard operation
ep_comments_page copied to clipboard

UX: Add disabled button

Open rugk opened this issue 9 years ago • 1 comments

The behaviour of the toolbar button should be improved.

When no text is selected

Current behaviour: Button as usual (enabled) Best behaviour: Disabled

When text is selected

Current behaviour: Button as usual (enabled) Best behaviour: Button as usual (enabled)

This behaviour could further be improved by having a floating button. See https://github.com/JohnMcLear/ep_comments/issues/95.

rugk avatar May 05 '16 17:05 rugk

@rugk This is a good idea, could you help us on that? This hook might be what you need: http://etherpad.org/doc/v1.6.0/#index_aceselectionchanged

lpagliari avatar May 05 '16 17:05 lpagliari