bastihilger/nova-tiptap

Add title attributes to toolbar buttons

Pothecary opened this issue · 4 comments

Not an issue but a proposal.

Is it possible to add title attributes to the buttons in the editor toolbar? So when you hover over each button a helpful hint shows. Much like the GitHub editor here:

image

Mock up using Chrome dev-tools:
image

Whilst many of us developers will recognise the editor icons, there are some clients (the ultimate the end user) who may not.

This is a good idea. This would have to be translatable (I can provide German and English). And maybe the regular "title" attribute is not enough, maybe a tooltip like you said here in Github would be nice.

Would you like to PR this?

I just saw you seem to be new on GitHub - with "PR" I mean write a pull request, and if that is not possible for you, no problem, I will add this when I get around to it.

@manogi I'm certainly new to contributing but I am happy to give this a shot. I'm sure I can spare some time this week or next to look into this 😄

This is done now (in English and German):

CleanShot 2021-08-22 at 18 45 19@2x