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

How to update toolbar icon and tooltip #1152

Open
alindas opened this issue Jun 18, 2024 · 1 comment
Open

How to update toolbar icon and tooltip #1152

alindas opened this issue Jun 18, 2024 · 1 comment
Labels

Comments

@alindas
Copy link

alindas commented Jun 18, 2024

For example, I declared a button with a name of fullsize, but I also rewrote the exec method. I hope to implement updated icons and tooltips in the custom method. What can I do

@xdan
Copy link
Owner

xdan commented Jun 26, 2024

If you want to correct the default behavior, you need to change controls

Jodit.make('#editor', {
      controls:  {
          fullsize: {
		  tooltip: 'Fullsize',
		  iconURL: './cutom-icon.svg'
	  },
      }
})

@xdan xdan added the question label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants