-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
According to the title, I'm trying to use the render function option but, unfortunately, it does nothing...
Also, it fires many errors in a loop if trying to add the hashtag or mention plugins... It would be nice to see documentation on how to use them... Thanks
nl2br: true, // OK
formatHref: (href, type) => {
console.log(href, type); // OK
if (type === "url") {
console.log(href, type); // OK
}
if (type === "hashtag") {
console.log(href, type); // NEVER REACHED
}
return href;
},
render: (ctx) => {
console.log("ctx", ctx); // NEVER REACHED
},
Metadata
Metadata
Assignees
Labels
No labels