* fix: clear ocr and asset cache when edits are applied * use event manager * fix: undefined check
Co-authored-by: Alex <alex.tran1502@gmail.com>