[Question] Standard approach in slight restructuring the HTML toolbar & badge
Question
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
Answers (3)
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
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3042
FEAT: Accurate Documentation on uploadFile
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #3404
Style Manager Issue.
Hi @artf I want to hide and show style properties for specific component. After referencing this issue https://github.com/artf/grapesjs/iss...
Issue #1888
[Question] Add custom html inside canvas
Hi there, I'm using grapes to export a custom json with all the information i need, instead of HTML and CSS. For doing that I'm parsing the...
Issue #5144
BUG: Incorrect type definition for PanelManager.addPanel
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? All Reproducible demo link None Describe t...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.