mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-22 01:33:29 +01:00
added a test vault
This commit is contained in:
parent
5022385ee1
commit
e826e93d27
16 changed files with 3543 additions and 149 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,7 +10,7 @@ node_modules
|
|||
|
||||
# Don't include the compiled main.js file in the repo.
|
||||
# They should be uploaded to GitHub releases instead.
|
||||
main.js
|
||||
./main.js
|
||||
|
||||
# Exclude sourcemaps
|
||||
*.map
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import esbuild from "esbuild";
|
||||
import process from "process";
|
||||
import builtins from 'builtin-modules';
|
||||
import { copy } from 'esbuild-plugin-copy';
|
||||
|
||||
const banner = `/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
|
@ -41,6 +42,14 @@ esbuild.build({
|
|||
'@codemirror/view',
|
||||
...builtins
|
||||
],
|
||||
plugins: [
|
||||
copy({
|
||||
assets: [{
|
||||
from: ["./manifest.json", "./main.js", "./styles.css"],
|
||||
to: ["./test-vault/.obsidian/plugins/obsidian-custom-frames/."]
|
||||
}]
|
||||
}),
|
||||
],
|
||||
format: 'cjs',
|
||||
watch: !prod,
|
||||
target: 'es2016',
|
||||
|
|
541
main.js
Normal file
541
main.js
Normal file
File diff suppressed because one or more lines are too long
2385
package-lock.json
generated
2385
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,8 @@
|
|||
"@types/node": "^16.11.6",
|
||||
"builtin-modules": "^3.2.0",
|
||||
"electron": "^13.6.2",
|
||||
"esbuild": "0.13.12",
|
||||
"esbuild": "0.14.0",
|
||||
"esbuild-plugin-copy": "^1.3.0",
|
||||
"obsidian": "latest",
|
||||
"tslib": "2.3.1",
|
||||
"typescript": "4.4.4"
|
||||
|
|
1
test-vault/.obsidian/app.json
vendored
Normal file
1
test-vault/.obsidian/app.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
1
test-vault/.obsidian/appearance.json
vendored
Normal file
1
test-vault/.obsidian/appearance.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
3
test-vault/.obsidian/community-plugins.json
vendored
Normal file
3
test-vault/.obsidian/community-plugins.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
"obsidian-custom-frames"
|
||||
]
|
19
test-vault/.obsidian/core-plugins.json
vendored
Normal file
19
test-vault/.obsidian/core-plugins.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"outgoing-link",
|
||||
"tag-pane",
|
||||
"page-preview",
|
||||
"daily-notes",
|
||||
"templates",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"starred",
|
||||
"outline",
|
||||
"word-count",
|
||||
"file-recovery"
|
||||
]
|
1
test-vault/.obsidian/hotkeys.json
vendored
Normal file
1
test-vault/.obsidian/hotkeys.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
541
test-vault/.obsidian/plugins/obsidian-custom-frames/main.js
vendored
Normal file
541
test-vault/.obsidian/plugins/obsidian-custom-frames/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
test-vault/.obsidian/plugins/obsidian-custom-frames/manifest.json
vendored
Normal file
10
test-vault/.obsidian/plugins/obsidian-custom-frames/manifest.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-custom-frames",
|
||||
"name": "Custom Frames",
|
||||
"version": "2.4.2",
|
||||
"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.css
vendored
Normal file
31
test-vault/.obsidian/plugins/obsidian-custom-frames/styles.css
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;
|
||||
}
|
133
test-vault/.obsidian/workspace
vendored
Normal file
133
test-vault/.obsidian/workspace
vendored
Normal file
|
@ -0,0 +1,133 @@
|
|||
{
|
||||
"main": {
|
||||
"id": "c1516e0860f8ca2d",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "cbc6da4aa7697308",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "custom-frames-obsidian-forum",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "f48d3cfe4b95c092",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "f1178df345e439d7",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "1953d881032399d7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "36f241641b1334c7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "2b4a59e1687c8b13",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "starred",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "48128f792502a876",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "6635b8a61f3363dc",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "8b8ee33059b392df",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1a5164ddf50fc39d",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "360f0e93e58b9472",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "edb9a559fde3ae0c",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d77c1f6b102072c2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "custom-frames-google-keep",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 388
|
||||
},
|
||||
"active": "d77c1f6b102072c2",
|
||||
"lastOpenFiles": []
|
||||
}
|
Loading…
Reference in a new issue