mirror of
https://github.com/heyman/heynote.git
synced 2025-08-09 14:55:05 +02:00
Add Settings to web app (#125)
* Add support for opening settings dialog in the webapp * Add tests for settings dialog * Hide stand-alone app specific settings in web app * Remove debug log
This commit is contained in:
@ -42,4 +42,8 @@ export class HeynotePage {
|
||||
const block = blocks[blockIndex]
|
||||
return content.slice(block.content.from, block.content.to)
|
||||
}
|
||||
|
||||
async getStoredSettings() {
|
||||
return await this.page.evaluate(() => JSON.parse(window.localStorage.getItem("settings")))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user