mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
[web] [cm6] Trigger metadata reload if edited text contains metadata-related command (#6371)
GitOrigin-RevId: 4180ef0b7720b38ca1511c4f96de14e03b0a3ea5
This commit is contained in:
@@ -120,5 +120,9 @@ export default App.factory('metadata', function ($http, ide) {
|
||||
}, 1000))
|
||||
}
|
||||
|
||||
window.addEventListener('editor:metadata-outdated', () => {
|
||||
metadata.scheduleLoadDocMetaFromServer(ide.$scope.editor.sharejs_doc.doc_id)
|
||||
})
|
||||
|
||||
return metadata
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user