fgilde / MudBlazor.Extensions

MudBlazor.Extensions from https://www.mudex.org is a small extension for MudBlazor from https://mudblazor.com
http://www.mudex.org
MIT License
245 stars 20 forks source link

Code Editor #101

Open LukeTOBrien opened 4 months ago

LukeTOBrien commented 4 months ago

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

fgilde commented 3 months ago

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

versile2 commented 1 month ago

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.