Adding new trait to Video component
Question

I want to add a new trait for existing VIDEO '' component. I follow the docs and I didn't find what I want.
Now I got the new trait added to the VIDEO component, but the existing traits are gone, I need some help, Thank you so much
Here is what I've tried so far: https://js.do/code/273166
Answers (3)
Extend the video type not the default one and be careful with your isComponent method, you're returning return {type: 'input'};
@artf thank you for your response, I've tried what you mentioned but didn't work,now my new trait is not even added
could you provide a demo for the solution, please?
@artf I do the same thing as you mentioned with MAP and LINK components and it worked, but it didn't work with VIDEO component
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1113
[QUESTIONS] New trait type is not working with rendered components?
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....
Issue #1514
How to add video block on blockManager
Hello All. i want to add a video block on blockmanager same as mentioned on below snapshot i am using following code for adding video block...
Issue #987
[BUG/Question] Dropdown indicator not displayed for a custom trait
Hello, the dropdown (select) element arrow indicator icon is not rendered when adding a custom trait to a component: I'm using following co...
Issue #1634
Action on built in checkbox traits
i want to add action to built in checkbox trait when i checked it
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.