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
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
},
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: