Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

API for disabling Button tooltip #147

Closed
oskarwrobel opened this issue Dec 22, 2016 · 2 comments
Closed

API for disabling Button tooltip #147

oskarwrobel opened this issue Dec 22, 2016 · 2 comments

Comments

@oskarwrobel
Copy link
Contributor

Looks like it is not possible to disable tooltip for button with label https://github.com/ckeditor/ckeditor5-ui-default/blob/master/src/button/buttonview.js#L205-L215
Label is a default tooltip value when there is no title and this is OK for buttons with icon only.
We can improve this function to prevent of returning label as tooltip value for buttons with label, but I think there still should be an option to simply disable or enable tooltip.

@oskarwrobel
Copy link
Contributor Author

I know it is possible to disable tooltip via CSS, but I'm not sure if CSS should provide such an API. If we decide to refactor tooltips using balloon panel then CSS API won't work.

@oleq
Copy link
Member

oleq commented Jan 3, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants