Replies: 1 comment 1 reply
-
|
hello, do you find the answer? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! First of all, thank you for such a great library ❤️.
I would like to extend the link editor to ensure that external links created through it, which do not have a protocol, are treated as external links. Essentially, I want to prepend
https://to all URLs created in the link editor.I believe this should be resolved by defining a custom plugin and using both the
linkDialogState$cell and theupdateLink$signal.So far, this is the only working solution I've come up with, which relies on
addComposerChild$to add a React component that uses thelinkDialogState$cell and theupdateLink$signal to update the URLs, and honestly, it feels completely overcomplicated.Do you have any advice on how to achieve this in a cleaner, more elegant way?
Thanks a lot in advance!
Beta Was this translation helpful? Give feedback.
All reactions