Closed jenter closed 3 years ago
Hi @jenter, good question. Unfortunately, I've never focused that much on the possibility of canvas extension or its UI elements, so for sure there is no right way to do that. If anyone is willing to propose solutions I'll be glad to evaluate them.
@artf I will review some proposals / thoughts and add it to this thread.
Great, thanks Jason
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Version:
0.15.10
This question is intended to validate if there is a proper way to extend the current https://github.com/artf/grapesjs/blob/master/src/canvas/view/CanvasView.js with a custom plugin. We were specifically reviewing the
render()
method within this file, to slightly alter the HTML to combine the toolbar and badge for this intended UI design:In the past, I have successfully extended commands with
editor.Commands.extend('select-comp', {
but wanted to get feedback if a similar approach could be taken with view files -and- if you see any red flags with this altered UI.thanks in advance for any feedback or insight