From 54b8869d46f37d525a61356946b3292541972a6f Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Sun, 28 Apr 2024 19:14:09 +0200 Subject: [PATCH] import dokieli template --- src/dokieli/dokieliPane.js | 2 +- src/dokieli/new.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/dokieli/dokieliPane.js b/src/dokieli/dokieliPane.js index ffcdfcd..e7ad864 100644 --- a/src/dokieli/dokieliPane.js +++ b/src/dokieli/dokieliPane.js @@ -11,7 +11,7 @@ import * as mime from 'mime-types' // const DOKIELI_TEMPLATE_URI = 'https://dokie.li/new' // Copy to make new dok -import * as DOKIELI_TEMPLATE from './new.js' // Distributed with this library +import DOKIELI_TEMPLATE from './new.js' // Distributed with this library export default { icon: UI.icons.iconBase + 'dokieli-logo.png', // @@ improve? more like doccument? diff --git a/src/dokieli/new.js b/src/dokieli/new.js index 3870095..6b0b122 100644 --- a/src/dokieli/new.js +++ b/src/dokieli/new.js @@ -1,4 +1,4 @@ -export default ` +const DOKIELI_TEMPLATE = ` @@ -10,12 +10,13 @@ export default ` - +
- -` +` + +export default DOKIELI_TEMPLATE