So, a bit of a concern:
I noticed while testing out the code that you're apparently using TinyMCE for the visual editor? They changed their licensing model recently so that if you want to self-host you have to pay a large sum of money if not using the code for anything that doesn't fall under LGPLv3 terms,. As this project is apparently targeted as an MIT license, I figured you would like to know this. I did see that the code was minified and combined into a different js file so I am unsure how feasible that is but it might be something you'd want to point out to whoever's adopting the project, as this means they either need to treat this code like LGPLv3 (and thus, due to how that license works, their own code would need to be compatible with LGPLv3) or buy a license from tiny.cloud instead.
Although, if I'm not correct about that, please feel free to inform me, as this is mainly based on how I'm interpreting it.
Currently using a method which uses a IFormFile below
var command = new AddDocumentAssetCommand()
File = _formfileUploadFactory.Create(formFile),
Title = "Test File"
var elevatedExecutionContext = await _executionContextFactory.CreateSystemUserExecutionContextAsync();
await _documentAssetRepository.AddDocumentAssetAsync(command, elevatedExecutionContext);
Is there a way to do this If Im receiving the file a btye , any objects I could use,
IUploadedFilethat takes in a byte stream. See FormFileUploadedFile for the Cofoundry default implementation that uses a
Cofoundry:Admin:Disabledif you're not wanting to use the UI at all
InvokeAsyncat the end of the definition. i.e.
@(await Cofoundry.Template.Region("Body") .AllowMultipleBlocks() .EmptyContentMinHeight(500) .InvokeAsync())