Remove doc:opened event (#23310)

GitOrigin-RevId: e0613c4ac548b57786df6a28f433636485dbb2a7
This commit is contained in:
Alf Eaton
2025-02-04 09:07:19 +00:00
committed by Copybot
parent 341f84ca80
commit d899144d43
2 changed files with 0 additions and 2 deletions

View File

@@ -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)

View File

@@ -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]