Skip to content

CustomTool does not expose an Icon() API configuration in the Editor #7628

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

Closed
alestoya opened this issue Dec 6, 2023 · 0 comments
Closed

Comments

@alestoya
Copy link

alestoya commented Dec 6, 2023

Bug report

CustomTool does not expose an Icon() API configuration in the Editor

Current behavior

Currently, defining a custom tool does not enable you to specify an icon which tends to be permitted in the Kendo UI for jQuery Editor incarnation. For example:

$("#editor").kendoEditor({
    tools: [
        {
            name: "Toggle",
            icon: "toggle-full-screen-mode"
        }
    ]
});

The following dojo showcases this behavior.

Expected/desired behavior

It would be beneficial if there is a possibility to explicitly define an icon in the MVC and Core wrappers. For instance:

@(Html.Kendo().Editor()
    .Name("editor")
    .Tools(tools => tools
        .Clear()
        .CustomButton(button => button
            .Name("ToggleFullScreen")
            .Icon("toggle-full-screen-mode")
        )
    )
)

Environment

  • Kendo UI version: 2023.1.1114
  • Browser: [all]
@alestoya alestoya self-assigned this Dec 6, 2023
@github-actions github-actions bot added the FP: Unplanned Sync status with associated Feedback Item label Dec 6, 2023
@alestoya alestoya added FP: In Development Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Dec 6, 2023
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Dec 8, 2023
@VicTachev VicTachev added this to the 2024 Q1 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants