How can I turn a string www.google.com as a link just by the user typing it? or make mentions like @john? Can you point me in the right direction? #368
Unanswered
ember11498
asked this question in
Q&A
Replies: 2 comments
-
this is what I get so far (this code still doesnt try to implement the link and the mentions as I am a bit out of ideas on how to do it):
|
Beta Was this translation helpful? Give feedback.
0 replies
-
With Fleather 1.12.0 we introduced AutoFormats to handle custom formatting while the user edits text. Right now the url auto formatting happens in the editor but you can implement and provide your own AutoFormat to the editor. Please check the current AutoFormats to get inspiration. @ember11498 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to have a behavior exactly like twitter does when creating a tweet.
If i type www.google.com it automatically understands it is a link.
also, if i type @ it automatically understands it is a mention.
Can you point me in the right direction and I figure it out on my own?
Beta Was this translation helpful? Give feedback.
All reactions