feat(react/ribbon): port image properties

This commit is contained in:
Elian Doran
2025-08-22 21:04:04 +03:00
parent 21683db0b8
commit 8287063aab
8 changed files with 123 additions and 154 deletions

View File

@@ -296,7 +296,7 @@ function isHtmlEmpty(html: string) {
);
}
async function clearBrowserCache() {
export async function clearBrowserCache() {
if (isElectron()) {
const win = dynamicRequire("@electron/remote").getCurrentWindow();
await win.webContents.session.clearCache();