question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

T5 question: Is it possible to use an image URL for a custom toolbar button?

See original GitHub issue

According to https://www.tiny.cloud/docs-preview/components/toolbarbuttons/component/basic/

It is only possible to set some sort of ID for an icon that “It displays the icon corresponding to the icon name that has been defined in the icon pack.”

This appears difficult when prototyping… and I am not even sure what is in the current icon pack, or how I add to it?

In TinyMCE version 4, you could specify an image via a URL. https://www.tiny.cloud/docs/advanced/creating-a-custom-button/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
TheSpydercommented, Jan 15, 2019

It’s not documented yet, but the editor.ui.registry.addIcon(name, svgData) API can be used to register custom icon IDs.

0reactions
EkimChaucommented, Apr 17, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I embed an image in a discussion reply as a student?
To embed an image using a URL, click the URL tab [1]. Enter the URL in the File URL field [2]. Manage Usage...
Read more >
Creating add-ons toolbar button with custom icon
Solved: I have a folder level JavaScript that is running when Acrobat starts up. I'm able to add a button to the add-ons...
Read more >
Option to insert an image from a URL #893 - quilljs/quill - GitHub
The Image button on the toolbar allows you to insert an image from your local ... It is possible to drag & drop...
Read more >
Extending the Toolbar button icons... - Nintex Community
We would like to have some more options regarding icons we can use for the toolbar button. Diagnoses. 1.) You can use an...
Read more >
Image properties - Atlassian Community
I am also not able to create the image as a link using the toolbar. I am using Chrome and I have cleared...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found