Skip to content

pantoken-root / renderers/tinymce/src / getIconCdnFile

פונקציה: getIconCdnFile() ​

getIconCdnFile(icon): CdnFile

חשב את CdnFile עבור אייקון על‑פי המקור שלו. מחזיר { package, path } לשימוש עם buildFileUrl של @pantoken/cdn.

פרמטרים ​

icon ​

TaggedIcon

מחזיר ​

CdnFile