How to create Mentions (or any Node) from paste input? #875
Unanswered
andreasvirkus
asked this question in
Questions & Help
Replies: 2 comments
-
@hanspagel do you have any suggestions how I could tackle this? We've now added an emoji picker and our custom emoji set to it.. But when a user copy-pastes text that has custom emojis in it, this happens 😬 The custom emoji is a modified Image extension:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is related - #689 |
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
-
Sort of related to #184, since Nodes were mentioned in the initial todo list there.
If I have a list of suggestions, could I automatically convert some of them to
Mention
s in a paste handler? For examplewould become
Currently, my hashtags setup is:
And when setting up the editor, this is how i initialise the extension:
How would I go about using the
internalTags
array to match for the#appraisal
tag found in the text and upon a successful match, creating a Mention node? 🤔Current result
Expected result
Beta Was this translation helpful? Give feedback.
All reactions