From b805078fb10949fc916d03ac3556e636bf9ba218 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 21 Aug 2022 17:41:40 +0200 Subject: [PATCH] fixed test vault data being ignored --- .gitignore | 3 -- .../plugins/obsidian-custom-frames/data.json | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 test-vault/.obsidian/plugins/obsidian-custom-frames/data.json diff --git a/.gitignore b/.gitignore index 86316b0..268743f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,5 @@ node_modules # Exclude sourcemaps *.map -# obsidian -data.json - # Exclude macOS Finder (System Explorer) View States .DS_Store diff --git a/test-vault/.obsidian/plugins/obsidian-custom-frames/data.json b/test-vault/.obsidian/plugins/obsidian-custom-frames/data.json new file mode 100644 index 0000000..18694dd --- /dev/null +++ b/test-vault/.obsidian/plugins/obsidian-custom-frames/data.json @@ -0,0 +1,38 @@ +{ + "frames": [ + { + "url": "https://forum.obsidian.md/", + "displayName": "Obsidian Forum", + "icon": "edit", + "hideOnMobile": true, + "addRibbonIcon": true, + "openInCenter": true, + "zoomLevel": 1, + "forceIframe": false, + "customCss": "" + }, + { + "url": "https://calendar.google.com/calendar/u/0/r/day", + "displayName": "Google Calendar", + "icon": "calendar", + "hideOnMobile": true, + "addRibbonIcon": true, + "openInCenter": true, + "zoomLevel": 1, + "forceIframe": false, + "customCss": "/* hide right-side menu, and some buttons */\ndiv.d6McF,\ndiv.pw6cBb,\ndiv.gb_Td.gb_Va.gb_Id,\ndiv.Kk7lMc-QWPxkf-LgbsSe-haAclf,\ndiv.h8Aqhb,\ndiv.gboEAb,\ndiv.dwlvNd {\n display: none !important;\n}" + }, + { + "url": "https://keep.google.com", + "displayName": "Google Keep", + "icon": "files", + "hideOnMobile": true, + "addRibbonIcon": false, + "openInCenter": false, + "zoomLevel": 1, + "forceIframe": false, + "customCss": "/* hide the menu bar and the \"Keep\" text */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span { \n\tdisplay: none !important; \n}" + } + ], + "padding": 5 +} \ No newline at end of file