mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-12-22 21:29:23 +01:00
parent
72c14f63d7
commit
2363a5e338
9 changed files with 706 additions and 1356 deletions
1385
package-lock.json
generated
1385
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -58,7 +58,6 @@ export class CustomFrameView extends ItemView {
|
||||||
|
|
||||||
onPaneMenu(menu: Menu, source: string): void {
|
onPaneMenu(menu: Menu, source: string): void {
|
||||||
super.onPaneMenu(menu, source);
|
super.onPaneMenu(menu, source);
|
||||||
if (source == "tab-header") {
|
|
||||||
for (let action of CustomFrameView.actions) {
|
for (let action of CustomFrameView.actions) {
|
||||||
menu.addItem(i => {
|
menu.addItem(i => {
|
||||||
i.setTitle(action.name);
|
i.setTitle(action.name);
|
||||||
|
@ -67,7 +66,6 @@ export class CustomFrameView extends ItemView {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
getViewType(): string {
|
getViewType(): string {
|
||||||
return this.name;
|
return this.name;
|
||||||
|
|
4
test-vault/.obsidian/app.json
vendored
4
test-vault/.obsidian/app.json
vendored
|
@ -1 +1,3 @@
|
||||||
{}
|
{
|
||||||
|
"promptDelete": false
|
||||||
|
}
|
29
test-vault/.obsidian/core-plugins-migration.json
vendored
Normal file
29
test-vault/.obsidian/core-plugins-migration.json
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"file-explorer": true,
|
||||||
|
"global-search": true,
|
||||||
|
"switcher": true,
|
||||||
|
"graph": true,
|
||||||
|
"backlink": true,
|
||||||
|
"outgoing-link": true,
|
||||||
|
"tag-pane": true,
|
||||||
|
"page-preview": true,
|
||||||
|
"daily-notes": true,
|
||||||
|
"templates": true,
|
||||||
|
"note-composer": true,
|
||||||
|
"command-palette": true,
|
||||||
|
"slash-command": false,
|
||||||
|
"editor-status": true,
|
||||||
|
"starred": true,
|
||||||
|
"markdown-importer": false,
|
||||||
|
"zk-prefixer": false,
|
||||||
|
"random-note": false,
|
||||||
|
"outline": true,
|
||||||
|
"word-count": true,
|
||||||
|
"slides": false,
|
||||||
|
"audio-recorder": false,
|
||||||
|
"workspaces": false,
|
||||||
|
"file-recovery": true,
|
||||||
|
"publish": false,
|
||||||
|
"sync": false,
|
||||||
|
"canvas": true
|
||||||
|
}
|
1
test-vault/.obsidian/core-plugins.json
vendored
1
test-vault/.obsidian/core-plugins.json
vendored
|
@ -4,6 +4,7 @@
|
||||||
"switcher",
|
"switcher",
|
||||||
"graph",
|
"graph",
|
||||||
"backlink",
|
"backlink",
|
||||||
|
"canvas",
|
||||||
"outgoing-link",
|
"outgoing-link",
|
||||||
"tag-pane",
|
"tag-pane",
|
||||||
"page-preview",
|
"page-preview",
|
||||||
|
|
573
test-vault/.obsidian/plugins/obsidian-custom-frames/main
vendored
Normal file
573
test-vault/.obsidian/plugins/obsidian-custom-frames/main
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
test-vault/.obsidian/plugins/obsidian-custom-frames/manifest
vendored
Normal file
10
test-vault/.obsidian/plugins/obsidian-custom-frames/manifest
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"id": "obsidian-custom-frames",
|
||||||
|
"name": "Custom Frames",
|
||||||
|
"version": "2.4.4",
|
||||||
|
"minAppVersion": "0.14.5",
|
||||||
|
"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",
|
||||||
|
"authorUrl": "https://ellpeck.de",
|
||||||
|
"isDesktopOnly": false
|
||||||
|
}
|
31
test-vault/.obsidian/plugins/obsidian-custom-frames/styles
vendored
Normal file
31
test-vault/.obsidian/plugins/obsidian-custom-frames/styles
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
.custom-frames-view {
|
||||||
|
padding: 0 !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-frames-view-file {
|
||||||
|
padding: 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-frames-frame {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: none;
|
||||||
|
background-color: white;
|
||||||
|
background-clip: content-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-frames-add {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-frames-show {
|
||||||
|
margin-bottom: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-frames-support {
|
||||||
|
max-width: 50%;
|
||||||
|
width: 400px;
|
||||||
|
height: auto;
|
||||||
|
}
|
Loading…
Reference in a new issue