Skip to content

pantoken-root / renderers/tinymce/src / getIconCdnFile

函数: getIconCdnFile() ​

getIconCdnFile(icon): CdnFile

根据图标的来源计算其 CdnFile。 返回 { package, path },供 @pantoken/cdn 的 buildFileUrl 使用。

参数 ​

icon ​

TaggedIcon

返回值 ​

CdnFile