Issue #3130Opened November 10, 2020by jenter2 reactions

[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: image

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)

artfNovember 18, 20201 reactions

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.

jenterNovember 23, 20201 reactions

@artf I will review some proposals / thoughts and add it to this thread.

artfNovember 25, 20200 reactions

Great, thanks Jason

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.