dream-num / univer

Univer is an Isomorphic Full-Stack Framework for Creating and Editing Spreadsheets, Docs, and Slides Across Web and Server
https://univer.ai
Apache License 2.0
7.12k stars 625 forks source link

[Bug] How to obtain the monaco-editor loading status after univer is initialized, and set the initialization script content after the loading is completed #3202

Open dxj0211 opened 2 months ago

dxj0211 commented 2 months ago

在您提交此问题之前,您是否检查了以下内容?

受影响的包和版本

v0.2.8

复现链接

如何univer初始化后获取monaco-editor加载状态,并在加载完成设置初始化脚本内容

预期行为

univer初始化后获取monaco-editor加载状态,并在加载完成设置初始化脚本内容

实际行为

如何获取monaco-editor实例加载完成并设置editor中脚本内容

运行环境

No response

系统信息

No response

univer-bot[bot] commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] 如何univer初始化后获取monaco-editor加载状态,并在加载完成设置初始化脚本内容

Title: [Bug] How to obtain the monaco-editor loading status after univer is initialized, and set the initialization script content after the loading is completed


Before you submitted this question, did you check the following?

Affected packages and versions

v0.2.8

Recurrence link

How to obtain the monaco-editor loading status after univer is initialized, and set the initialization script content after the loading is completed

Expected behavior

After univer is initialized, obtain the monaco-editor loading status and set the initialization script content after the loading is completed.

Actual behavior

How to get the monaco-editor instance to be loaded and set the script content in the editor

Running environment

No response

System information

No response