formaui-net.AddOns.Composer.Plugins.Explorer
1.0.0-preview.27
Prefix Reserved
dotnet add package formaui-net.AddOns.Composer.Plugins.Explorer --version 1.0.0-preview.27
NuGet\Install-Package formaui-net.AddOns.Composer.Plugins.Explorer -Version 1.0.0-preview.27
<PackageReference Include="formaui-net.AddOns.Composer.Plugins.Explorer" Version="1.0.0-preview.27" />
<PackageVersion Include="formaui-net.AddOns.Composer.Plugins.Explorer" Version="1.0.0-preview.27" />
<PackageReference Include="formaui-net.AddOns.Composer.Plugins.Explorer" />
paket add formaui-net.AddOns.Composer.Plugins.Explorer --version 1.0.0-preview.27
#r "nuget: formaui-net.AddOns.Composer.Plugins.Explorer, 1.0.0-preview.27"
#:package formaui-net.AddOns.Composer.Plugins.Explorer@1.0.0-preview.27
#addin nuget:?package=formaui-net.AddOns.Composer.Plugins.Explorer&version=1.0.0-preview.27&prerelease
#tool nuget:?package=formaui-net.AddOns.Composer.Plugins.Explorer&version=1.0.0-preview.27&prerelease
Forma.AddOns.Composer.Plugins.Explorer
A FormaComposer plugin that lets an author pick one of the host's stored files and insert it. It
adds Browse Files to the editor's media group, which opens FormaExplorer in the
composer's dialog; a picture, video or audio file is embedded, linked or both, and any other file is
linked.
It is installed beside the composer,
Forma.Blazor.Composer,
and brings the explorer,
Forma.Blazor.Explorer,
with it.
Install
dotnet add package formaui-net.AddOns.Composer.Plugins.Explorer --prerelease
Register
Add the plugin to the editor it inserts into:
using Forma.Blazor.Components.Composer;
using Forma.Blazor.Components.Composer.Plugins;
using Forma.Framework.Composer.Editing;
builder.Services.AddFormaComposer(composer => composer
.AddRichTextEditor(editor => editor
.TryAddDefaultFeatures()
.AddFeaturePlugin<ExplorerPlugin, ExplorerPluginOptions>(options =>
{
options.AcceptedResourceKinds = "contentType:image";
options.InsertMode = MediaInsertMode.Embed;
})));
The dialog lists the files the host's ICatalogProvider answers, in the folders it lists, and
uploads into the host's IFileStore. A press chooses a file and enters a folder, and a file
activated by Enter is inserted at once. The dialog reads every folder the provider lists as it
opens, a query for folders alone at every depth, one slice after another, so a provider listing many
folders is read whole each time the dialog opens; a provider listing none browses the files flat:
using Forma.Framework.Catalog.Queries;
using Forma.Framework.Resources;
builder.Services.AddScoped<ICatalogProvider, MediaLibrary>();
builder.Services.AddScoped<IFileStore, UploadFolderStore>();
Forma.Framework.Catalog
shows an ICatalogProvider, and
Forma.Framework.Resources
an IFileStore.
Options
ExplorerPluginOptions |
What it sets |
|---|---|
AcceptedResourceKinds |
The files listed and chosen, as globs:*.jpg;*.pdf or contentType:image;video; every file when unset. |
AcceptedUploadKinds |
The files that may be uploaded, in the same form; the listed kinds when unset. |
MaxFileBytes |
The most bytes one uploaded file may hold; the uploader's own 10 MiB at zero, the default. |
AllowUpload |
Whether the dialog offers upload. Defaults to true. |
InsertMode |
Whether a file the browser can render is inserted as Embed, Link or Both. Defaults to Embed. |
The dialog's strings ship in English, Spanish and Hebrew.
License
Apache License 2.0, under the repository's LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- formaui-net.Blazor (= 1.0.0-preview.27)
- formaui-net.Blazor.Explorer (= 1.0.0-preview.27)
- formaui-net.Framework.Composer.Extensibility (= 1.0.0-preview.27)
- formaui-net.Framework.Explorer (= 1.0.0-preview.27)
- Microsoft.AspNetCore.Components (>= 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.27 | 42 | 12/3/2026 |
| 1.0.0-preview.26 | 48 | 12/3/2026 |
| 1.0.0-preview.25 | 47 | 12/2/2026 |
| 1.0.0-preview.24 | 54 | 12/1/2026 |
| 1.0.0-preview.23 | 66 | 11/30/2026 |
| 1.0.0-preview.22 | 61 | 11/30/2026 |
| 1.0.0-preview.21 | 67 | 11/29/2026 |
| 1.0.0-preview.20 | 73 | 11/26/2026 |
| 1.0.0-preview.19 | 65 | 11/26/2026 |
| 1.0.0-preview.18 | 66 | 11/26/2026 |
| 1.0.0-preview.17 | 64 | 11/26/2026 |
| 1.0.0-preview.16 | 58 | 11/24/2026 |
| 1.0.0-preview.15 | 58 | 11/23/2026 |
| 1.0.0-preview.14 | 59 | 11/23/2026 |
| 1.0.0-preview.13 | 58 | 11/21/2026 |
| 1.0.0-preview.12 | 77 | 11/20/2026 |
| 1.0.0-preview.11 | 63 | 11/18/2026 |
| 1.0.0-preview.10 | 63 | 11/17/2026 |
| 1.0.0-preview.9 | 93 | 11/17/2026 |
| 1.0.0-preview.8 | 69 | 11/17/2026 |
What this release changed is in Forma's changelog: https://github.com/FormaUI/Forma/blob/v1.0.0-preview.27/CHANGELOG.md