mirror of
https://github.com/mossy1022/Smart-Memos.git
synced 2026-07-22 05:16:24 +00:00
Update Version
This commit is contained in:
parent
5319c4f962
commit
febf9b1bcd
3 changed files with 2 additions and 5 deletions
3
main.ts
3
main.ts
|
|
@ -80,11 +80,8 @@ export default class SmartMemosPlugin extends Plugin {
|
||||||
|
|
||||||
this.registerMarkdownPostProcessor((el: HTMLElement, ctx: MarkdownPostProcessorContext) => {
|
this.registerMarkdownPostProcessor((el: HTMLElement, ctx: MarkdownPostProcessorContext) => {
|
||||||
const audioLinks = el.querySelectorAll('a.internal-link[data-href$=".wav"]');
|
const audioLinks = el.querySelectorAll('a.internal-link[data-href$=".wav"]');
|
||||||
console.log('audio links: ', audioLinks);
|
|
||||||
audioLinks.forEach(link => {
|
audioLinks.forEach(link => {
|
||||||
|
|
||||||
console.log('linksss');
|
|
||||||
|
|
||||||
const href = link.getAttribute('data-href');
|
const href = link.getAttribute('data-href');
|
||||||
if (href === null) {
|
if (href === null) {
|
||||||
console.error('Failed to get the href attribute from the link element.');
|
console.error('Failed to get the href attribute from the link element.');
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "smart-memos",
|
"id": "smart-memos",
|
||||||
"name": "Smart Memos",
|
"name": "Smart Memos",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Create personalized and intelligent analysis, summaries, and more for audio recordings that can be imported or spoken directly into a note",
|
"description": "Create personalized and intelligent analysis, summaries, and more for audio recordings that can be imported or spoken directly into a note",
|
||||||
"author": "Evan Moscoso",
|
"author": "Evan Moscoso",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "smart-memos",
|
"name": "smart-memos",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"description": "Create personalized and intelligent analysis, summaries, and more for audio recordings that can be imported or spoken directly into a note",
|
"description": "Create personalized and intelligent analysis, summaries, and more for audio recordings that can be imported or spoken directly into a note",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue