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

项目不太会用 #20

Open
theOnlyUnique opened this issue Jan 10, 2024 · 0 comments
Open

项目不太会用 #20

theOnlyUnique opened this issue Jan 10, 2024 · 0 comments

Comments

@theOnlyUnique
Copy link

我创建了一个vue模板,但是他跑不起来,作者能给一个详细点的例子吗,我的vue文件是这样的
`

你好自定义模板!!

<script setup> import { Editor, withUndoRedo } from "web-editor-markdown"; let editor = new Editor(document.getElementById('id')); editor = withUndoRedo(editor); // UndoRedo Plugin editor.insertTextAtCursor('**This is a bold text**\n> tips:You can switch source mode with `cmd+/`'); </script> <style scoped> </style>`
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