Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

309 B
Raw Blame
export const img3115 = (imgElement: HTMLElement) => {
    // 移除 3.1.15 以前 .img width 样式
    if (imgElement.style.minWidth) {
        // 居中需要 minWidth 样式,不能移除 style 属性
        imgElement.style.width = "";
    } else {
        imgElement.removeAttribute("style");
    }
};