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

【丰富demo】-react #797

Closed
sunsonliu opened this issue Jun 20, 2024 · 6 comments
Closed

【丰富demo】-react #797

sunsonliu opened this issue Jun 20, 2024 · 6 comments
Labels
Event/Tencent Rhino-bird Program 2024 Tencent Rhino-bird Opensource Training Program

Comments

@sunsonliu
Copy link
Collaborator

sunsonliu commented Jun 20, 2024

弄一个react下使用cherry markdown的demo,demo中需包含:

  • 初始化cherry
  • 通过cherry api变更内容

本issue为2024犀牛鸟开源人才培养活动专属issue,仅供在校大学生参与领取
【认领issue】在研学基地"issue营地"对应issue行的M~R列抢滩报名,即视为认领成功
【完成issue】已认领issue的同学,请同步在本issue评论区回复“已成功领取本issue”; 如7天内无提交任何进展包括不限于comment \ commit \ Pull Request,则将视为同学主动放弃issue,组委会将释放issue给下一位等候者。

demo放在/examples/目录下
最好以UMD形式引入框架,用一个XXX.html文件完成demo
开发文档在这里

开发方式:

  1. fork项目到自己的项目里
  2. 从自己项目里的dev分支拉个新分支开发
  3. 完成开发后pr到cherry markdown项目的dev分支 (提交时不需要提交/dist/目录下的变更)
@sunsonliu sunsonliu added the Event/Tencent Rhino-bird Program 2024 Tencent Rhino-bird Opensource Training Program label Jun 20, 2024
@urlyy
Copy link
Contributor

urlyy commented Jun 28, 2024

已成功领取本issue

@urlyy
Copy link
Contributor

urlyy commented Jun 30, 2024

请问demo是一个大文件里面展示各种功能,还是像教程一样每个功能开一个文件展示?

@urlyy
Copy link
Contributor

urlyy commented Jun 30, 2024

就像wangeditor的demo一样,但是他的例子也分成了多个html文件
image

@urlyy
Copy link
Contributor

urlyy commented Jun 30, 2024

还是说和 https://tencent.github.io/cherry-markdown/examples/api.html 的基本一致?

@RSS1102
Copy link
Collaborator

RSS1102 commented Jun 30, 2024

个人建议,你直接在example下建:cherry-markdown-react-demo示例项目,示例内容包括基本的react 使用cherry-markdown和其一些api功能,api功能可以参考api,页面设计可以更好一点,毕竟使用html写的比较简易化一点。

@sunsonliu
Copy link
Collaborator Author

v0.8.50 版本上已支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Event/Tencent Rhino-bird Program 2024 Tencent Rhino-bird Opensource Training Program
Projects
None yet
Development

No branches or pull requests

3 participants