editor-js / editor-js/link

Is there any way to set headers in config?

Open
#38 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
101
Forks
80
PR merge metrics
No merged PRs in 30d

Description

I am trying something in this way to configure tools.
```
tools: {
...
linkTool: {
class: LinkTool,
config: {
endpoint: 'http://localhost:8008/fetchUrl',
headers: {
common: {
'X-Org': 1,
},
},
},
}
```

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.