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('underlineButton').addEventListener('click', function() {
toggleUnderline(getCurrentEditor());
});
handleChange: (editor: Editor) => toggleUnderline(editor)
},
onClick: editor => toggleUnderline(editor),
};
handleChange: (editor: Editor) => toggleUnderline(editor)
},