1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00
This commit is contained in:
Martin McKeaveney 2020-11-14 17:56:24 +00:00
parent cd5f720617
commit 3c46536bbb
2 changed files with 12 additions and 22 deletions

View file

@ -49,7 +49,7 @@ async function startApp() {
win = new BrowserWindow({ win = new BrowserWindow({
width: 1920, width: 1920,
height: 1080, height: 1080,
icon: join(__dirname, "..", "build", "icons", "512x512.png") icon: join(__dirname, "..", "build", "icons", "512x512.png"),
}) })
win.setTitle(APP_TITLE) win.setTitle(APP_TITLE)
win.loadURL(APP_URL) win.loadURL(APP_URL)

View file

@ -1,5 +1,5 @@
<script> <script>
import { RichText } from '@budibase/bbui' import { RichText } from "@budibase/bbui"
export let _bb export let _bb
@ -16,29 +16,19 @@
// Need to determine what options we want to expose. // Need to determine what options we want to expose.
let options = { let options = {
"modules": { modules: {
"toolbar": [ toolbar: [
[ [
{ {
"header": [ header: [1, 2, 3, false],
1, },
2,
3,
false
]
}
], ],
[ ["bold", "italic", "underline", "strike"],
"bold", ],
"italic",
"underline",
"strike"
]
]
}, },
"placeholder": "Type something...", placeholder: "Type something...",
"theme": "snow" theme: "snow",
} }
</script> </script>
<RichText bind:content {options} /> <RichText bind:content {options} />