From 8ceac4ab31cc49d156b6d6b8b84697b426399bdf Mon Sep 17 00:00:00 2001 From: zsviczian Date: Tue, 1 Nov 2022 11:42:39 +0100 Subject: [PATCH] 1.7.27 --- README.md | 2 +- manifest.json | 2 +- src/dialogs/Messages.ts | 15 +++++++++++++-- src/dialogs/ReleaseNotes.ts | 2 +- src/menu/ActionIcons.tsx | 16 ++++++++-------- styles.css | 8 +++----- 6 files changed, 27 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 831b0d1..fbff347 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Please upgrade to Obsidian v0.12.19 or higher to get the latest release. |[![thumbnail](https://user-images.githubusercontent.com/14358394/156931461-0979b821-315a-41dd-86f1-31d169b7c127.jpg)](https://youtu.be/Etskjw7a5zo)|[![Thumbnail](https://user-images.githubusercontent.com/14358394/158008902-12c6a851-237e-4edd-a631-d48e81c904b2.jpg)](https://youtu.be/4N6efq1DtH0)|[![thumbnail](https://user-images.githubusercontent.com/14358394/159369910-6371f08d-b5fa-454d-9c6c-948f7e7a7d26.jpg)](https://youtu.be/U2LkBRBk4LY)| | [![6 strategies for linking your visual thoughts v4](https://user-images.githubusercontent.com/14358394/171635214-30533c45-94fa-436e-83a9-b2ec99f190e2.jpg)](https://youtu.be/qiKuqMcNWgU)|[![Video thumbnail small](https://user-images.githubusercontent.com/14358394/185791706-3d9983ab-7cb1-4b27-a016-30c039d84e34.jpg)](https://youtu.be/yZQoJg2RCKI)|[![Thumbnail - Colors - Excalidraw Basics (Custom)](https://user-images.githubusercontent.com/14358394/194773147-5418a0ab-6be5-4eb0-a8e4-d6af21b1b483.png)](https://youtu.be/6PLGHBH9VZ4) | |[![Thumbnail - Excalidraw color palettes (Custom)](https://user-images.githubusercontent.com/14358394/194773211-9e871be7-0795-4dc7-947e-c6c275e690d0.png)](https://youtu.be/epYNx2FSf2w) | [![Thumbnail (Custom)](https://user-images.githubusercontent.com/14358394/194773268-400cfb1b-6bde-45e0-9e4b-91bbaa461cf0.png)](https://youtu.be/Amhlv6r9WvM) | [![Thumbnail - Simple rules for beautiful sketches (Custom) (1)](https://user-images.githubusercontent.com/14358394/194773527-ef35c8b9-1a6d-4415-9c7e-b667fb17535d.png)](https://youtu.be/r9oB1SlK1GU) | -|[![Thumbnail - ColorMaster Scripting (Custom)](https://user-images.githubusercontent.com/14358394/195988535-a133a9b9-d094-45ba-ba64-c994b9a1e0ef.png)](https://youtu.be/7gJDwNgQ6NU) | | | +|[![Thumbnail - ColorMaster Scripting (Custom)](https://user-images.githubusercontent.com/14358394/195988535-a133a9b9-d094-45ba-ba64-c994b9a1e0ef.png)](https://youtu.be/7gJDwNgQ6NU) | [![Thumbnail - 1 7 27 SVG import (Custom)](https://user-images.githubusercontent.com/14358394/199207784-8bbe14e0-7d10-47d7-971d-20dce8dbd659.png)](https://youtu.be/vlC1-iBvIfo) | | diff --git a/manifest.json b/manifest.json index 794b3cb..d7cedbe 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "1.7.26", + "version": "1.7.27", "minAppVersion": "0.15.6", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/src/dialogs/Messages.ts b/src/dialogs/Messages.ts index c674d45..8b6bf15 100644 --- a/src/dialogs/Messages.ts +++ b/src/dialogs/Messages.ts @@ -11,12 +11,23 @@ Thank you & Enjoy! `; export const RELEASE_NOTES: { [k: string]: string } = { - Intro: `I want to help you keep up with all the updates. After installing each release, you'll be prompted with a summary of new features and fixes. You can disable these popup messages in plugin settings. + Intro: `After each update you'll be prompted with the release notes. You can disable this in plugin settings. -I develop this plugin as a hobby, spending most of my free time doing this. If you'd like to contribute to the on-going work, I have a simple membership scheme with Bronze, Silver and Gold tiers. Many of you have already bought me a coffee. THANK YOU! It really means a lot to me! If you find this plugin valuable, please consider supporting me. +I develop this plugin as a hobby, spending my free time doing this. If you find it valuable, then please say THANK YOU or...
`, +"1.7.27":`## New +- Import SVG drawing as an Excalidraw object. [#679](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/679) + +
+ +
+ +## Fixed +- Large drawings freeze on the iPad when opening the file. I implemented a workaround whereby Excalidraw will avoid zoom-to-fit drawings with over 1000 elements. [#863](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/863) +- Reintroduced copy/paste to the context menu +`, "1.7.26":`## Fixed - Transcluded block with a parent bullet does not embed sub-bullet [#853](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/853) - Transcluded text will now exclude ^block-references at end of lines diff --git a/src/dialogs/ReleaseNotes.ts b/src/dialogs/ReleaseNotes.ts index 6c31a19..2754759 100644 --- a/src/dialogs/ReleaseNotes.ts +++ b/src/dialogs/ReleaseNotes.ts @@ -35,7 +35,7 @@ export class ReleaseNotes extends Modal { const message = this.version ? Object.keys(RELEASE_NOTES) .filter((key) => key === "Intro" || isVersionNewerThanOther(key,prevRelease)) - .map((key: string) => `# ${key}\n${RELEASE_NOTES[key]}`) + .map((key: string) => `${key==="Intro" ? "" : `# ${key}\n`}${RELEASE_NOTES[key]}`) .slice(0, 10) .join("\n\n---\n") : FIRST_RUN; diff --git a/src/menu/ActionIcons.tsx b/src/menu/ActionIcons.tsx index 81f0753..dab6a0e 100644 --- a/src/menu/ActionIcons.tsx +++ b/src/menu/ActionIcons.tsx @@ -288,36 +288,36 @@ export const ICONS = { ), importSVG: ( - + - + diff --git a/styles.css b/styles.css index 34b99fb..6d5c5a1 100644 --- a/styles.css +++ b/styles.css @@ -96,8 +96,7 @@ li[data-testid] { .ex-coffee-div { text-align: center; - margin-bottom: 20px; - + margin-bottom: 10px; } .excalidraw-scriptengine-install td>img { @@ -184,9 +183,8 @@ li[data-testid] { } .excalidraw-release .modal { - max-height: 90%; - width: auto; - max-width: 130ch; + max-height: 80%; + max-width: 100ch; } .excalidraw .Island .scrollbar {