editor-js / editor-js/image

Extra setting tool button wrong default statue

Open
#112 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
285
Forks
307
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/29748339/95342417-feca3900-08e9-11eb-93df-df4af1010280.png)
![image](https://user-images.githubusercontent.com/29748339/95342887-7bf5ae00-08ea-11eb-916d-592b686b3c45.png)

Why is that the custom tool state is active by default?
```
actions: [
{
name: 'align-center',
icon: '',
title: 'Align Center',
action: (name) => {
return false;
}
},
{
name: 'new_button',
icon: '',
title: 'New Button',
action: (name) => {
alert(`${name} button clicked`);
return false;
}
}
],
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.