Issue #1999💬 AnsweredOpened May 6, 2019by acamenhas0 reactions

Trait extends

Quick answerby artf

To learn more about how to extend components start from here: https://grapesjs.com/docs/modules/Components.html The problem with the Video Component that its traits are handled a bit differently so in this case, I'd suggest looking at its source to get a better idea of how they work, but I think at the end this will w...

Read full answer below ↓

Question

Hi,

I need to extends the video type, just to add a new trait/property: muted There is any documentation that can tell me how can i extend an existing type?

Thanks

Answers (3)

artfMay 11, 2019

To learn more about how to extend components start from here: https://grapesjs.com/docs/modules/Components.html The problem with the Video Component that its traits are handled a bit differently so in this case, I'd suggest looking at its source to get a better idea of how they work, but I think at...

lock[bot]May 21, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot]May 21, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.