Skip to content

pantoken-root / renderers/tinymce/src / retargetContentStylesheets

ฟังก์ชัน: retargetContentStylesheets() ​

retargetContentStylesheets(editor, buildAssetUrl): void

ทำการแก้ไขการอ้างอิงใหม่ของ stylesheet ที่ติดแท็กทั้งหมดในเอกสารเนื้อหา เช่น หลังจากสลับผู้ให้บริการ CDN.

พารามิเตอร์ ​

editor ​

Editor

buildAssetUrl ​

(file) => string

คืนค่า ​

void