TypeError: markdownEditor.linkit is not a function

Created on 25 December 2015, about 9 years ago
Updated 28 December 2024, 6 days ago

I installed and set up (step-by-step) the modules but something is wrong if i click the linkit button in BuEditor. The error message is "TypeError: markdownEditor.linkit is not a function". Do you have any idea? Thank you!

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇪🇸Spain tiburi

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • 🇮🇳India calcifer_3119 Delhi

    The issue was caused by the `markdownEditor.linkit` function not being properly defined or initialized when the linkit button was clicked in the BUEditor. This resulted in the error: "TypeError: markdownEditor.linkit is not a function".

    - Ensured that the `markdownEditor.linkit` function is only defined if it does not already exist.
    - Verified that `markdownEditor.linkit` is a function before trying to invoke it, which resolves the error.

    This should now prevent the error and allow the Linkit functionality to work correctly in the BUEditor.

Production build 0.71.5 2024