mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-22 09:43:30 +01:00
made obsidian forum the topmost preset
This commit is contained in:
parent
e2ce193353
commit
88aee30476
2 changed files with 9 additions and 9 deletions
|
@ -12,8 +12,8 @@ To use this plugin, simply go into its settings and add a new frame, either from
|
|||
|
||||
## Presets
|
||||
By default, Custom Frames comes with a few presets that allow you to get new panes for popular sites up and running quickly.
|
||||
- [Google Keep](https://keep.google.com), optimized for a narrow pane on the side
|
||||
- [Obsidian Forum](https://forum.obsidian.md/)
|
||||
- [Google Keep](https://keep.google.com), optimized for a narrow pane on the side
|
||||
- [Notion](https://www.notion.so/) (it's recommended to close Notion's sidebar if used as a side pane)
|
||||
|
||||
If you create a frame that you think other people would like, don't hesitate to create a pull request with [a new preset](https://github.com/Ellpeck/ObsidianCustomFrames/blob/master/main.ts#L7).
|
||||
|
|
16
main.ts
16
main.ts
|
@ -5,6 +5,14 @@ const defaultSettings: CustomFramesSettings = {
|
|||
padding: 5
|
||||
};
|
||||
const presets: Record<string, CustomFrame> = {
|
||||
"obsidian": {
|
||||
url: "https://forum.obsidian.md/",
|
||||
displayName: "Obsidian Forum",
|
||||
icon: "edit",
|
||||
hideOnMobile: true,
|
||||
minimumWidth: 367,
|
||||
customCss: ""
|
||||
},
|
||||
"keep": {
|
||||
url: "https://keep.google.com",
|
||||
displayName: "Google Keep",
|
||||
|
@ -16,14 +24,6 @@ const presets: Record<string, CustomFrame> = {
|
|||
display: none !important;
|
||||
}`
|
||||
},
|
||||
"obsidian": {
|
||||
url: "https://forum.obsidian.md/",
|
||||
displayName: "Obsidian Forum",
|
||||
icon: "edit",
|
||||
hideOnMobile: true,
|
||||
minimumWidth: 367,
|
||||
customCss: ""
|
||||
},
|
||||
"notion": {
|
||||
url: "https://www.notion.so/",
|
||||
displayName: "Notion",
|
||||
|
|
Loading…
Reference in a new issue