editor-js / editor-js/image

Allow `stretched` by default

Open
#114 0 comments 3 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
285
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Is it possible to enable `stretched` once upload is finished by default? Currently, the image is left aligned by default.

Maybe something like this when initializing `EditorJs` would be helpful:
```javascript
image: {
class: EditorToolImage,
config: {
stretched: true
},
},
```

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.