How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Question
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url.
Would like to do similar to link components for link URL. It might be convenient for other components like Form components for business users to drag and type information in single flow.
How to achieve that, and the related handler in the codebase?
Answers (3)
Hi guys try to check out this #286
I'm also looking in to this trying to get familiar with the code. Once we figure it out we could make some plugins a lot more powerful. Please let me know if you figure it out. We should make a little manual for it.
Sound good enough for my case. I have similar intention with #286
var dynamicValue;
model.set('content', dynamicValue);
Related Questions and Answers
Continue research with similar issue discussions.
Issue #794
[QUESTION] How to create a custom option in toolbox?
I would like to know how can I create a custom "option" with custom content in this place:
Issue #417
Add Setting button to custom component.
Hello, How can I create a setting or you can say edit button for my custom component? LIke 4th option on this image:
Issue #1990
[QUESTIONS] need to call method before remove the html component
Hi, I need to call the method before remove the HTML component. how can I do that calling method like editor.on('block:drag:stop', function...
Issue #990
How to listen an event for custom component's style update?
@artf @arthuralmeidap @nojacko I have a custom component like, this and i the code looks like https://jsfiddle.net/nganand/n97g7g43/ . How...
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.