Skip to content

Conversation

@erinnmclaughlin
Copy link
Owner

@erinnmclaughlin erinnmclaughlin commented Oct 15, 2025

(kinda) fixes #28

This is a potential solution for the ol/ul tag issue, but this is a bit of a can of worms (there are many quill-specific CSS classes applied for things like nested lists, alignment, etc.)

This may be something better left for the next full version update. Will think some more on this over the next few days.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue related to rendering list tags by implementing HTML sanitization to handle the conversion between ordered (<ol>) and unordered (<ul>) list elements based on QuillJS data attributes.

  • Adds HTML sanitization functionality to properly handle list tag rendering
  • Introduces a new MudHtmlEditorOptions class with sanitization controls
  • Provides backward compatibility through a deprecated parameter for list tag replacement

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
Tizzani.MudBlazor.HtmlEditor.csproj Bumps version from 2.3.0 to 2.3.1
MudHtmlEditor.razor.js Adds HTML sanitization methods and options parameter support
MudHtmlEditor.razor.cs Introduces MudHtmlEditorOptions class and deprecated backward compatibility parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

cursor[bot]

This comment was marked as outdated.

@TekneqSoftware
Copy link

looking forward to this one getting approved. I have struggled with this myself. thank you for fixing this! Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MudBlazor styling is not applied to rendered HTML

3 participants