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

支持vue2吗 #9

Closed
oooowl opened this issue May 6, 2021 · 5 comments
Closed

支持vue2吗 #9

oooowl opened this issue May 6, 2021 · 5 comments

Comments

@oooowl
Copy link

oooowl commented May 6, 2021

No description provided.

@big-camel
Copy link
Member

直接用的VUE最新的,只有UI渲染的位置使用了VUE

@rustbomber
Copy link

现在所有的插件都能在vue环境正常工作吗?因为我们的应用是vue开发的,看您介绍说editor是react的开发,不知道是能否都正常使用。

@big-camel
Copy link
Member

现在所有的插件都能在vue环境正常工作吗?因为我们的应用是vue开发的,看您介绍说editor是react的开发,不知道是能否都正常使用。

在部分 ui 使用原生js做渲染比较困难下, 都是使用的前端框架渲染。这些渲染仅仅用作于 ui 呈现展示和用户端参数输入,不参与编辑器的逻辑处理。所以换成其它任何前端渲染库都可以使用

前端框架都是使用最新的库

react 17

vue 3

下面这个三个插件有 react 和 vue 区别,ui库都是使用的 antdv

toolbar-vue 工具栏,全部使用框架渲染
codeblock-vue 代码块,语言选择下拉使用框架渲染
link-vue 链接,文字输入修改使用框架渲染

如果非要使用 vue2 的话,那就得修改这三个插件 vue 渲染代码

@rustbomber
Copy link

@itellyou-com 了解,我们的项目用的还是vue2的版本。

@big-camel
Copy link
Member

@akaylh 我上手vue也不久,所以学嘛就学最新的了。好像也没有找到兼容 vue2 的写法。

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

3 participants