MudBlazor.Extensions icon indicating copy to clipboard operation
MudBlazor.Extensions copied to clipboard

Code Editor

Open LukeTOBrien opened this issue 1 year ago • 4 comments

Feature request type

New component

Component name

No response

Is your feature request related to a problem?

No response

Describe the solution you'd like

I am porting a legacy app to Blazor + Mud, inside my app we have an editor (used for Markdown), the editor has been created using CodeMirror.
I just wondered that such a component would make a great little addition to your extensions project.

What do you say?

Have you seen this feature anywhere else?

For my spercific case with Markdown, I have noticed there is a https://github.com/MyNihongo/MudBlazor.Markdown
But this project has a dependancy on MarkDig, I don't want to compile Markdown, just an editor that will handle highlighting etc.

Describe alternatives you've considered

No response

Pull Request

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

LukeTOBrien avatar Jul 28 '24 14:07 LukeTOBrien

Really not sure if I want implement that. Also currently I have less time and I think personally I would prefer Monaco instead of CodeMirror. But you can easially do it as an Extensions for MudBlazor.Extensions like the https://github.com/fgilde/MudExRichTextEditor

fgilde avatar Aug 06 '24 06:08 fgilde

That's also a fantastic example of how to create one (MudExRichTextEditor). It checks all the boxes and is not super large to get confusing.

versile2 avatar Oct 12 '24 05:10 versile2

BlazorMonaco maybe?

nefarius avatar Jul 04 '25 13:07 nefarius

Yeah makes sense. Is also used in the demo app to showcase the json editor. (MudExStructuredDataEdit) I will check if an adaption makes sense and has benefits

fgilde avatar Jul 05 '25 21:07 fgilde