Skip to content

Render function not triggering #8

@Torone

Description

@Torone

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions