Skip to content

Commit

Permalink
chore: release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
1943time committed Nov 27, 2023
1 parent 693813d commit 30416fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ A WYSIWYG markdown editor. improving the Markdown reading and editing experience

<a href="https://apps.apple.com/us/app/bluestone-markdown/id6451391474"><img src="docs/assets/mac-store.svg" style="width:120px"/><a>

[documentation](https://doc.bluemd.me/book/docs/introduction) | [中文文档](https://doc.bluemd.me/book/zh-docs/introduction)

> The release time of mac store will be delayed by 1-3 days
***

# Introduction
Expand All @@ -14,8 +18,6 @@ Unlike source code mode, Bluestone is more like a rich text editor, and it uses
The reason for this is that bluestone wants to maintain the universality and cross-platform features of Markdown,
and add a rich text editing experience on this basis.

[documentation](https://pb.bluemd.me/official/book/docs/introduction)

![](./docs/assets/d1.png)

![](./docs/assets/syntax.gif)
Expand All @@ -32,7 +34,7 @@ and add a rich text editing experience on this basis.
- Support exporting html and pdf.
- Can drag document elements to change their order.
- Supports pasting of HTML, markdown code, and plain text, when pasting HTML, it will automatically download the images in the HTML and convert the path.
- Through simple configuration, it is easy to synchronize the markdown documents generated by the editor to your own server or cloud storage, making it easy to quickly share documents with others.
- Through simple configuration, it is easy to synchronize the markdown documents generated by the editor to your own server, making it easy to quickly share documents with others.

## Drag
![](./docs/assets/drag.gif)
Expand Down
8 changes: 6 additions & 2 deletions src/renderer/src/server/Share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,17 @@ export const Share = observer(() => {
loading={state.upgradeLoading}
onClick={action(() => {
setState({upgradeLoading: true})
shareStore.api.upgrade().then(() => {
shareStore.api.upgrade().then(async () => {
message$.next({
type: 'success',
content: 'Upgrade completed'
})
setState({upgradeLoading: false})
runInAction(() => shareStore.showUpdateTips = false)
const v = await shareStore.api.getVersion()
runInAction(() => {
shareStore.showUpdateTips = false
shareStore.currentVersion = v.version
})
}).catch(e => {
message$.next({
type: 'error',
Expand Down

0 comments on commit 30416fe

Please sign in to comment.