mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Remove doc:opened event (#23310)
GitOrigin-RevId: e0613c4ac548b57786df6a28f433636485dbb2a7
This commit is contained in:
@@ -482,7 +482,6 @@ export const EditorManagerProvider: FC = ({ children }) => {
|
||||
try {
|
||||
const document = await openNewDocument(doc)
|
||||
syncTrackChangesState(document)
|
||||
eventEmitter.emit('doc:opened')
|
||||
setOpening(false)
|
||||
setCurrentDocument(document)
|
||||
done(true)
|
||||
|
||||
@@ -11,7 +11,6 @@ export type IdeEvents = {
|
||||
'document:closed': [doc: ShareJsDoc]
|
||||
'doc:changed': [{ doc_id: string }]
|
||||
'doc:saved': [{ doc_id: string }]
|
||||
'doc:opened': []
|
||||
'ide:opAcknowledged': [{ doc_id: string; op: any }]
|
||||
'store-doc-position': []
|
||||
'editor:gotoOffset': [options: GotoOffsetOptions]
|
||||
|
||||
Reference in New Issue
Block a user