Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
document.getElementById('removeLink').addEventListener('click', function() {
let editor = getCurrentEditor();
editor.focus();
removeLink(editor);
});
handleChange: (editor: Editor) => removeLink(editor)
},
handleChange: (editor: Editor) => removeLink(editor)
}
handleEvent: (event, editor) => {
event.rawEvent.preventDefault();
removeLink(editor);
},
};
onClick: editor => removeLink(editor),
};