app/javascript/legacy/campaigner_facing/configure_wysiwyg.js
Function configureWysiwyg
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configureWysiwyg(id, editorOptions = []) {
const $editor = $('#' + id);
if ($editor.length === 0) {
return;
}