chore: update README.md

This commit is contained in:
chrislicodes 2023-05-27 15:01:29 +02:00
parent f190528f5a
commit 1fd08ea85d
2 changed files with 6 additions and 2 deletions

View file

@ -12,8 +12,8 @@ With this plugin, you can either import PGNs or simply start a fresh new game. I
- [Installation](#installation) - [Installation](#installation)
- [Usage](#usage) - [Usage](#usage)
- [Features](#features) - [Features](#features)
- [1.0.0](#100) - [1.0.0](#100)
- [1.1.0](#110) - [1.1.0](#110)
- [Settings](#settings) - [Settings](#settings)
- [Roadmap](#roadmap) - [Roadmap](#roadmap)
- [Tools Used](#tools-used) - [Tools Used](#tools-used)
@ -76,6 +76,8 @@ You can permanently set some settings in the [Obsidian](https://obsidian.md/) pl
## Roadmap ## Roadmap
- [ ] Add option to export current FEN
- [ ] Add option to start from a specific position (FEN)
- [ ] Add undo button - [ ] Add undo button
- [ ] Add view to manage stored games - [ ] Add view to manage stored games
- [ ] Add more styles - [ ] Add more styles

View file

@ -76,6 +76,8 @@ export default class ChessStudyPlugin extends Plugin {
})), })),
}; };
this.dataAdapter.createStorageFolderIfNotExists();
const id = await this.dataAdapter.saveFile(chessStudyFileData); const id = await this.dataAdapter.saveFile(chessStudyFileData);
editor.replaceRange( editor.replaceRange(