mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-31 18:18:36 +08:00
complete the new version for add button
This commit is contained in:
@@ -82,7 +82,7 @@ export default class RibbonCommands {
|
||||
private addCommandForDatabase(dbDetails: DatabaseDetails) {
|
||||
// Example logic - adjust based on your specific requirements
|
||||
let commandId = `share-to-${dbDetails.abName}`;
|
||||
let commandName = `Share to ${dbDetails.abName}`; // or use a translated name
|
||||
let commandName = `Share to ${dbDetails.fullName} (${dbDetails.abName})`; // or use a translated name
|
||||
|
||||
let editorCallback: (editor: Editor, view: MarkdownView) => Promise<void>;
|
||||
if (dbDetails.format === 'next') {
|
||||
|
||||
Reference in New Issue
Block a user