editor-js / editor-js/image

Accept Caption When Uploading From File and Drag and Drop

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

Description

We want to upload an image with a custom caption and an image at the same time.
As a result, we ask that you allow this section (attached) to output caption together with the url in the normal manner.

- How we want it....
{
"type" : "image",
"data" : {
"file": {
"url" : "https://www.tesla.com/tesla_theme/assets/img/_vehicle_redesign/roadster_and_semi/roadster/hero.jpg"
},
"caption" : "Roadster // tesla.com",
"withBorder" : false,
"withBackground" : false,
"stretched" : true
}
}

Regards.

- Section of concern

![Firefox_Screenshot_2023-02-04T21-32-37 883Z](https://user-images.githubusercontent.com/75365560/216791024-e291b3fd-5ca5-48b5-a124-43b0ae6ec11b.png)

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.