Issue #1113πŸ’¬ AnsweredOpened May 14, 2018by trinhbalinh1 reactions

New trait type is not working with rendered components?

Quick answerby artf❀ 1

Just include your changes in a plugin https://jsfiddle.net/on1g5xqb/

Read full answer below ↓

Question

Hello, thanks for the great framework. I'm trying to apply this to my project. I want to add a new trait for existing LINK '<a>' component. I follow these documents and almost got what I expected: https://github.com/artf/grapesjs/wiki/Traits#define-new-trait-type and: https://github.com/artf/grapesjs/wiki/Components#update-component-type Now I got the new trait added to the LINK component BUT for components drag & dropped from Blocks panel only. The rendered links doesn't have this new trait. Can I have this new trait apply for all components (included rendered). Thank you so much Here is wha...

Answers (3)

trinhbalinhβ€’ May 18, 2018

Thank you, it worked!

lock[bot]β€’ September 17, 2019

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.