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