Note the path is not a url, but a relative path to a certain bucket. (Yet this should not be a problem since BlockNote will not check if its a valid url or not (ok if its just a string)
The example does not show how to use resolveFileUrl and tsdoc does not give much of a information.
I need this feature since I am building a SaaS where customer can choose their own bucket and uploading strategy, and the file handling should be staged and disposed (cannot use a actual link) the link will be transfomed tmp->real on submission.
The
resolveFileUrl
won't get executed by the response from theuploadFile
I ended up doing this
Note the path is not a url, but a relative path to a certain bucket. (Yet this should not be a problem since BlockNote will not check if its a valid url or not (ok if its just a string)
The example does not show how to use
resolveFileUrl
and tsdoc does not give much of a information.I need this feature since I am building a SaaS where customer can choose their own bucket and uploading strategy, and the file handling should be staged and disposed (cannot use a actual link) the link will be transfomed tmp->real on submission.