Compare commits

..

2 commits

Author SHA1 Message Date
Ell
d96c8baf8c 2.4.6 2023-05-07 17:55:24 +02:00
Ell
3ffe20f441 fixed centered views having weird behavior with tabs
closes #67
2023-05-07 17:33:39 +02:00
13 changed files with 44 additions and 11 deletions

View file

@ -1,8 +1,8 @@
{ {
"id": "obsidian-custom-frames", "id": "obsidian-custom-frames",
"name": "Custom Frames", "name": "Custom Frames",
"version": "2.4.5", "version": "2.4.6",
"minAppVersion": "1.1.0", "minAppVersion": "1.2.0",
"description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.", "description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.",
"author": "Ellpeck", "author": "Ellpeck",
"authorUrl": "https://ellpeck.de", "authorUrl": "https://ellpeck.de",

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "obsidian-custom-frames", "name": "obsidian-custom-frames",
"version": "2.4.5", "version": "2.4.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {

View file

@ -1,6 +1,6 @@
{ {
"name": "obsidian-custom-frames", "name": "obsidian-custom-frames",
"version": "2.4.5", "version": "2.4.6",
"description": "An Obsidian plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.", "description": "An Obsidian plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View file

@ -45,6 +45,7 @@ export class CustomFrameView extends ItemView {
this.data = data; this.data = data;
this.name = name; this.name = name;
this.frame = new CustomFrame(settings, data); this.frame = new CustomFrame(settings, data);
this.navigation = data.openInCenter;
for (let action of CustomFrameView.actions) for (let action of CustomFrameView.actions)
this.addAction(action.icon, action.name, () => action.action(this)); this.addAction(action.icon, action.name, () => action.action(this));

View file

@ -25,5 +25,6 @@
"file-recovery": true, "file-recovery": true,
"publish": false, "publish": false,
"sync": false, "sync": false,
"canvas": true "canvas": true,
"bookmarks": true
} }

View file

@ -13,7 +13,7 @@
"note-composer", "note-composer",
"command-palette", "command-palette",
"editor-status", "editor-status",
"starred", "bookmarks",
"outline", "outline",
"word-count", "word-count",
"file-recovery" "file-recovery"

22
test-vault/.obsidian/graph.json vendored Normal file
View file

@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": false
}

View file

@ -435,6 +435,7 @@ var _CustomFrameView = class extends import_obsidian3.ItemView {
this.data = data; this.data = data;
this.name = name; this.name = name;
this.frame = new CustomFrame(settings, data); this.frame = new CustomFrame(settings, data);
this.navigation = data.openInCenter;
for (let action of _CustomFrameView.actions) for (let action of _CustomFrameView.actions)
this.addAction(action.icon, action.name, () => action.action(this)); this.addAction(action.icon, action.name, () => action.action(this));
} }

View file

@ -435,6 +435,7 @@ var _CustomFrameView = class extends import_obsidian3.ItemView {
this.data = data; this.data = data;
this.name = name; this.name = name;
this.frame = new CustomFrame(settings, data); this.frame = new CustomFrame(settings, data);
this.navigation = data.openInCenter;
for (let action of _CustomFrameView.actions) for (let action of _CustomFrameView.actions)
this.addAction(action.icon, action.name, () => action.action(this)); this.addAction(action.icon, action.name, () => action.action(this));
} }

View file

@ -1,8 +1,8 @@
{ {
"id": "obsidian-custom-frames", "id": "obsidian-custom-frames",
"name": "Custom Frames", "name": "Custom Frames",
"version": "2.4.5", "version": "2.4.6",
"minAppVersion": "1.1.0", "minAppVersion": "1.2.0",
"description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.", "description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.",
"author": "Ellpeck", "author": "Ellpeck",
"authorUrl": "https://ellpeck.de", "authorUrl": "https://ellpeck.de",

View file

@ -1,8 +1,8 @@
{ {
"id": "obsidian-custom-frames", "id": "obsidian-custom-frames",
"name": "Custom Frames", "name": "Custom Frames",
"version": "2.4.5", "version": "2.4.6",
"minAppVersion": "1.1.0", "minAppVersion": "1.2.0",
"description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.", "description": "A plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.",
"author": "Ellpeck", "author": "Ellpeck",
"authorUrl": "https://ellpeck.de", "authorUrl": "https://ellpeck.de",

View file

@ -0,0 +1,6 @@
{
"nodes":[
{"id":"98d23d47aafe2b68","x":-480,"y":-360,"width":795,"height":535,"type":"link","url":"https://calendar.google.com"}
],
"edges":[]
}

View file

@ -11,5 +11,6 @@
"2.4.2": "0.14.5", "2.4.2": "0.14.5",
"2.4.3": "0.15.5", "2.4.3": "0.15.5",
"2.4.4": "0.16.0", "2.4.4": "0.16.0",
"2.4.5": "1.1.0" "2.4.5": "1.1.0",
"2.4.6": "1.2.0"
} }