-
I am trying to add a custom "manager" like the traits and styles that are built in to handle settings that are internal to our legacy application. I have been successful in adding a new button to the right hand panel, using the following code snip:
This does add the button to the UI and closes the other drawers when I click on it but I can't seem to find an element that connects to the button click that would show the content I want to add. Below is screen shot of what I want to have happen. Is there any command or feature that would allow me to link additional settings that would allow me to do this using grapesjs or do I need to write my own custom? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well since not a single soul responded I just wrote my own. If anyone wants to do the same thing in the future for the newsletter plugin, code is below. I am not saying this is the 'correct way' to do it (as no one answered me) but it's a way.
// on editor load
|
Beta Was this translation helpful? Give feedback.
Well since not a single soul responded I just wrote my own. If anyone wants to do the same thing in the future for the newsletter plugin, code is below. I am not saying this is the 'correct way' to do it (as no one answered me) but it's a way.