Make the Bmage editor's controls pluggable and add the Bit.Bmage.BlazorUI package

未关闭
#15,544 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@msynk 已经在做这个了。

开始于 2026年11月29日。

评估

这个 Issue 还没有评估数据。

描述

area / BlazorUI area / bmage

The Bmage editor (BmageEditor, BmageEditorToolbar, BmageEditorPanel, BmageDropZone) hard-codes about 50 buttons,
a dozen inputs and several selects, and none of them can be replaced, so an app that uses BlazorUI cannot make the
editor match the rest of its UI.

  • In Bit.Bmage.Blazor: render the editor's controls (button, toggle button, slider, number input, select, color input,
    text input) through a small registry of control components, the way Borm's renderer registry works. The plain HTML
    controls stay the default, so nothing changes for existing apps.
  • A new opt-in Bit.Bmage.BlazorUI package that registers BlazorUI controls (BitButton, BitToggleButton,
    BitSlider, BitNumberField, BitDropdown, BitColorPicker, BitTextField) and BlazorUI icons for the tools.
  • Keyboard shortcuts, focus handling, localized labels and the editor's accessibility stay as they are.
  • Follows the BlazorUI theme (light, dark and custom).
主要语言
C#
星标
1.4k
派生
264
平均合并
5 小时 25 分钟
30 天内合并 PR
447

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bitfoundation/bitplatform 的其他 Issue

查看 bitfoundation/bitplatform 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。