mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-06 23:21:16 +08:00
8 lines
197 B
JavaScript
8 lines
197 B
JavaScript
export function clearVditorStorage() {
|
|
Object.keys(localStorage).forEach((key) => {
|
|
if (key.startsWith('vditoreditor-') || key === 'vditor') {
|
|
localStorage.removeItem(key)
|
|
}
|
|
})
|
|
}
|