We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var markdownString = draftToMarkdown(rawObject, { entityItems: { mention: { open: function (entity) { return '<span class="mention-item" data-user-id="' + entity.data.id + '">'; }, close: function (entity) { return '</span>'; } } } });
We have a way to specify open and close, but no content. Suggest to add:
text: function (entity) { }
not sure about function name
The text was updated successfully, but these errors were encountered:
The use case is to display a mention like @nickname as Firstname Lastname in draftjs. But as @nickname in markdown.
@nickname
Firstname Lastname
Sorry, something went wrong.
It would be nice to display Firstname Lastname but serialize as @{userID}
@{userID}
No branches or pull requests
We have a way to specify open and close, but no content.
Suggest to add:
not sure about function name
The text was updated successfully, but these errors were encountered: