Skip to content

pantoken-root / renderers/tinymce/src / getIconCdnFile

函式: getIconCdnFile() ​

getIconCdnFile(icon): CdnFile

計算給定來源的圖示的 CdnFile。 回傳 { package, path },以供 @pantoken/cdn 的 buildFileUrl 使用。

參數 ​

icon ​

TaggedIcon

回傳 ​

CdnFile