From 1fd08ea85deaf0bbd6ef8e78803c4ae8e14803e9 Mon Sep 17 00:00:00 2001 From: chrislicodes Date: Sat, 27 May 2023 15:01:29 +0200 Subject: [PATCH] chore: update README.md --- README.md | 6 ++++-- src/main.tsx | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28cfed8..147af73 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ With this plugin, you can either import PGNs or simply start a fresh new game. I - [Installation](#installation) - [Usage](#usage) - [Features](#features) - - [1.0.0](#100) - - [1.1.0](#110) + - [1.0.0](#100) + - [1.1.0](#110) - [Settings](#settings) - [Roadmap](#roadmap) - [Tools Used](#tools-used) @@ -76,6 +76,8 @@ You can permanently set some settings in the [Obsidian](https://obsidian.md/) pl ## Roadmap +- [ ] Add option to export current FEN +- [ ] Add option to start from a specific position (FEN) - [ ] Add undo button - [ ] Add view to manage stored games - [ ] Add more styles diff --git a/src/main.tsx b/src/main.tsx index c4a4a18..bf8912b 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -76,6 +76,8 @@ export default class ChessStudyPlugin extends Plugin { })), }; + this.dataAdapter.createStorageFolderIfNotExists(); + const id = await this.dataAdapter.saveFile(chessStudyFileData); editor.replaceRange(