Fix: Ensure `markdownEditor.linkit` is properly defined and initialized before usage
- Ensured that the
linkitfunction is only defined withinmarkdownEditorif it does not already exist to avoid conflicts. - Added a check to verify that
markdownEditor.linkitis a function before attempting to call it, resolving theTypeError: markdownEditor.linkit is not a functionissue.