Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
useEffect(() => {
store = _store
log('effect init: ', store)
if (uploaderLoaded) {
// eslint-disable-next-line
const editor = new EditorJS({
/**
* Id of Element that should contain Editor instance
*/
holderId: 'codex-editor',
tools: {
header: {
class: Header,
inlineToolbar: false,
},
quote: Quote,
list: {
class: List,
inlineToolbar: true,
},
marker: {
class: Marker,