Dante
Dante copied to clipboard
Hide some buttons from text editor
Is there a way to disable specific buttons? For example if i dont want to show the mic recorder button or even the whole plus button from the left, or hide the button to switch text color.
We could override it with css by taking the easy way but all of the classes for buttons are exactly the same
Currently class="dante-menu-button" to something like class="dante-menu-button dante-menu-button--fontcolor"
I could work on it but if you could let me know what files do i need to change it would be great.
Edit: I found where, working on it...
Hola Daniel! I will make the menu more configurable as implemented in dante2, I will expect to deliver this soon , if you want to check out how the previous menu was made check this https://github.com/michelson/Dante/blob/master/packages/dante2/src/editor/components/popovers/toolTip.js#L407-L461 in dante2 the menu was configurable via options. I will do the same for dante3
Is there a way to completely remove the left side: "+" icon, as in support no widgets?
Even if I supply widgets={[]}
, + icon anyway shows up.