From 88aee30476de4c97659bda71f83a4b16ed8067b2 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 26 Mar 2022 16:11:30 +0100 Subject: [PATCH] made obsidian forum the topmost preset --- README.md | 2 +- main.ts | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3374c01..c130bff 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/main.ts b/main.ts index b3e102c..c43a4c2 100644 --- a/main.ts +++ b/main.ts @@ -5,6 +5,14 @@ const defaultSettings: CustomFramesSettings = { padding: 5 }; const presets: Record = { + "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 = { 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",