mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-30 04:48:34 +01:00
Compare commits
2 commits
21a8230e70
...
d96c8baf8c
Author | SHA1 | Date | |
---|---|---|---|
d96c8baf8c | |||
3ffe20f441 |
13 changed files with 44 additions and 11 deletions
|
@ -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
2
package-lock.json
generated
|
@ -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": {
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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));
|
||||||
|
|
|
@ -25,5 +25,6 @@
|
||||||
"file-recovery": true,
|
"file-recovery": true,
|
||||||
"publish": false,
|
"publish": false,
|
||||||
"sync": false,
|
"sync": false,
|
||||||
"canvas": true
|
"canvas": true,
|
||||||
|
"bookmarks": true
|
||||||
}
|
}
|
2
test-vault/.obsidian/core-plugins.json
vendored
2
test-vault/.obsidian/core-plugins.json
vendored
|
@ -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
22
test-vault/.obsidian/graph.json
vendored
Normal 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
|
||||||
|
}
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
6
test-vault/Untitled.canvas
Normal file
6
test-vault/Untitled.canvas
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"nodes":[
|
||||||
|
{"id":"98d23d47aafe2b68","x":-480,"y":-360,"width":795,"height":535,"type":"link","url":"https://calendar.google.com"}
|
||||||
|
],
|
||||||
|
"edges":[]
|
||||||
|
}
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue