Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在其他js文件我需要获取到编辑器的信息 #5998

Open
LufeiQD opened this issue Nov 6, 2024 · 0 comments
Open

在其他js文件我需要获取到编辑器的信息 #5998

LufeiQD opened this issue Nov 6, 2024 · 0 comments

Comments

@LufeiQD
Copy link

LufeiQD commented Nov 6, 2024

问题描述

在其他js文件我需要获取到编辑器的信息,同时想直接往编辑器插入内容,但是我在其他文件里无法直接使用editor.insertText(),哪怕引入了js文件也不行,项目是通过cdn的方式使用的

wangEditor 版本

cdn的方式

是否查阅了文档 ?

(文档链接 www.wangeditor.com

最小成本的复现步骤

其他不互通的文件使用对应的编辑器api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant