update at 2025-09-25 22:35:01
This commit is contained in:
@@ -27,6 +27,7 @@ import { NoteToMpSettingTab } from './setting-tab';
|
||||
import AssetsManager from './assets';
|
||||
import { setVersion, uevent } from './utils';
|
||||
import { WidgetsModal } from './widgets-modal';
|
||||
import { BatchPublishModal } from './batch-publish-modal';
|
||||
|
||||
|
||||
export default class NoteToMpPlugin extends Plugin {
|
||||
@@ -79,6 +80,14 @@ export default class NoteToMpPlugin extends Plugin {
|
||||
}
|
||||
});
|
||||
|
||||
this.addCommand({
|
||||
id: 'note-to-mp-batch-publish',
|
||||
name: '批量发布文章',
|
||||
callback: () => {
|
||||
new BatchPublishModal(this.app, this).open();
|
||||
}
|
||||
});
|
||||
|
||||
this.addCommand({
|
||||
id: 'note-to-mp-pub',
|
||||
name: '发布公众号文章',
|
||||
|
||||
Reference in New Issue
Block a user