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