Extending / customising the WYSIWYG editor

Hi

Is there a way to extend the rich text editor, eg so that I can allow custom linking ability when creating a hyperlink, rather than just being confined to having text and a manually entered URL?

I’d like the Hyperlink popup window to be able to select from a defined set of URLs.

I assume, if it is possible, it would need to be done using Code Studio, but just want to check if it is actually possible first.

Thanks

No, there isn’t a way to do this currently I’m afraid.

You could use a fragment callback to dynamically set the href setting based on a value stored elsewhere / in another property.

If it’s an external URL you need to prepend the URL with “_external|” to get Create to treat it as such.

Something like:

let target_url = “_external|” + target_base_url;
fragment_presenter.set_setting(‘href’, target_url);

Maybe you’re all over this approach already. I know I was wishing for a dynamic URL property setting also.