Code: copy button should be at bottom
atinux opened this issue · 5 comments
atinux commented
bdrtsky commented
How do you have it? it's empty here https://github.com/nuxt-themes/typography/blob/main/components/CopyButton.vue
Tahul commented
I think there is two issues here:
- nuxt.com has its own
CopyButton.vue
, at least it seems like so in the screenshot ProseCode
ain't done yet, and I think we should think of the best way to handle that specific component
What I would suggest is:
- Removing
CopyButton
from nuxt.com - Finishing the implementation of CopyButton from this repository
- Think of the best way to let users overwrite it
I would suggest it is called ProseCodeCopyButton
now, as it might conflict with other components from the user project, CopyButton
seem a bit too generic as a name.
atinux commented
I like ProseCodeCopyButton
Happy to remove it from nuxt.com once we have it.
I believe a ProseCode that has a copy button is great UX by default :)