You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to take in a text area and then identify handles or hashtags or links in the <textarea>. I can do this 100% with Div's, strings, etc. but for some reason, Linkify won't recognize the actual text inside of the <textarea> to put links to it.
Is there a way to use the {children} module of Linkify to then ID the text inside of a child component and then Linkify that?
Any help understanding how to do this would be really appreciated!
Thank you!
My attempted code:
vartext="Hey there I'm a text posted by: @user1 \n #newPosterHere \n https://thisisawebsitethatshouldbelinked.com"<LinkifycomponentDecorator={textareaDecorator}matchDecorator={matchDecoratorTextArea}><textareaid="textarea"fontSize="15px"lineHeight="25px"readOnlyname="textarea"value={text}style={{width: "400px",height: "100px"}}></textarea></Linkify>
The text was updated successfully, but these errors were encountered:
Hi Linkify! LOVE your SDK by the way 🔥
I'm trying to take in a text area and then identify handles or hashtags or links in the <textarea>. I can do this 100% with Div's, strings, etc. but for some reason, Linkify won't recognize the actual text inside of the <textarea> to put links to it.
Is there a way to use the {children} module of Linkify to then ID the text inside of a child component and then Linkify that?
Any help understanding how to do this would be really appreciated!
Thank you!
My attempted code:
The text was updated successfully, but these errors were encountered: