Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HideIcons is not working #38

Open
sion-corn opened this issue Jul 26, 2024 · 3 comments
Open

HideIcons is not working #38

sion-corn opened this issue Jul 26, 2024 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@sion-corn
Copy link

sion-corn commented Jul 26, 2024

I am using version 8.0.4

HideIcons is not properly hiding the icons i specify:


 <MarkdownEditor Value="@markdownValue"
                        ValueChanged="@OnMarkdownValueChanged"
                        ValueHTMLChanged="@OnMarkdownValueHTMLChanged"
                        HideIcons="@(new string[] { "code", "fullscreen", "heading", "image", "quote", "table" })"
                        Placeholder="..."
                        MaxHeight="@(MaxHeight ?? "100px")"
                        SpellChecker="@false"
                        TabSize="4" />

result:
Screenshot 2024-07-26 110439

@Doddzi
Copy link

Doddzi commented Aug 22, 2024

The name fields provided in the documentation are incorrect. Try prefixing the given names with "mde-tb-". For example:

HideIcons="@(new string[] { "mde-tb-code", "mde-tb-fullscreen", "mde-tb-heading", "mde-tb-image", "mde-tb-quote", "mde-tb-table" })"

@erossini
Copy link
Owner

I'll investigate this issue
Enrico

@erossini erossini self-assigned this Sep 20, 2024
@erossini erossini added the help wanted Extra attention is needed label Sep 20, 2024
@sion-corn
Copy link
Author

The name fields provided in the documentation are incorrect. Try prefixing the given names with "mde-tb-". For example:

HideIcons="@(new string[] { "mde-tb-code", "mde-tb-fullscreen", "mde-tb-heading", "mde-tb-image", "mde-tb-quote", "mde-tb-table" })"

This worked for me, thanks @Doddzi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants