Skip to content

How to pass temporary url #249

@Complexlity

Description

@Complexlity

I have set up and uploader that returns a url and this works well. However, I don't want to have to upload the image each time the user inserts or removes. I want to use a temporary url

let tempFileUrl = URL.createObjectURL(file);

This creates a url: "blob:http://localhost......". This works when working with DOM elements but If I pass this to the image uploadByFile result

return { success: 1, file: tempFileUrl }

It just keeps loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions