-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: support publish articles to wxmp draft #1016
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
base: main
Are you sure you want to change the base?
feat: support publish articles to wxmp draft #1016
Conversation
🎊 PR Preview has been successfully built and deployed to https://doocs-md-preview-pr-1016.surge.sh |
这个 build 报错了,需要检查一下:
|
好的我看下,pr 先转成 draft pr了 |
移动端可以改成悬浮按钮,而不是简单隐藏 |
很好的建议,国庆后再贡献趴。 |
已处理 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果缺少参数是不是才应该切换 tab,配置了参数就不需要切换了吧,同理其他几个 tab 也是一样
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以放到 packages/core 下,新增 publish 文件夹,为其他平台增加口子
} | ||
|
||
export async function addMpArticleDraft(params: MpArticleDraft) { | ||
let { appID, appsecret, proxyOrigin } = JSON.parse( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以作为参数传入
虽然现在公众号开发者账号密钥 只在图床中使用,但是如果加上发布草稿这个功能, 或者考虑简化理解,增加一个tips,增加一个说明文档。~ 建议建议 |
feat: 新增微信公众号草稿发布功能,支持将Markdown编辑器中的内容直接发布到微信公众号后台作为草稿。
✨ 主要功能如下:
📝 内容发布
🖼️ 封面图处理
⚙️ 配置管理
🎨 用户体验
🎯 使用场景
适用于需要将Markdown内容快速发布到微信公众号的场景,特别是:技术博客作者、内容创作者、自媒体运营者
使用流程:
如果没有公众号图床配置(appID、appsecret),点击发布时会提醒


点击打开配置,会自动弹出图床配置弹窗