diff --git a/Dockerfile b/Dockerfile
index ccd975ca..7f061f40 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,9 @@ ENV V4_VERSION 4.3.22
RUN npm pack stackedit@$V4_VERSION \
&& tar xzf stackedit-*.tgz --strip 1 \
&& yarn \
- && yarn cache clean
+ && yarn cache clean \
+ && rm -rf ~/.cache/bower \
+ && rm -rf ~/.local/share/bower
WORKDIR /opt/stackedit
diff --git a/src/components/App.vue b/src/components/App.vue
index a38bc58b..033eed02 100644
--- a/src/components/App.vue
+++ b/src/components/App.vue
@@ -53,7 +53,9 @@ export default {
this.ready = true;
tempFileSvc.setReady();
} catch (err) {
- if (err && err.message !== 'RELOAD') {
+ if (err && err.message === 'RELOAD') {
+ window.location.reload();
+ } else if (err && err.message !== 'RELOAD') {
console.error(err); // eslint-disable-line no-console
this.$store.dispatch('notification/error', err);
}
diff --git a/src/components/Tour.vue b/src/components/Tour.vue
index e5ab19c4..d1704c18 100644
--- a/src/components/Tour.vue
+++ b/src/components/Tour.vue
@@ -12,7 +12,7 @@
Your Markdown editor
-
StackEdit renders your Markdown into HTML in real-time.
+
StackEdit converts your Markdown to HTML in real-time.
Click to toggle the side preview.
@@ -144,7 +144,7 @@ $tour-step-width: 240px;
.tour-step__inner {
position: absolute;
background-color: $tour-step-background;
- padding: 1em;
+ padding: 1.5em;
font-size: 0.9em;
line-height: 1.33;
width: $tour-step-width;
@@ -213,8 +213,10 @@ $tour-step-width: 240px;
}
.tour-step__button-bar {
- margin-top: 1.75em;
- text-align: right;
+ margin-top: 1.5em;
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-end;
.button {
font-size: 1.1em;
diff --git a/src/components/menus/ImportMenu.vue b/src/components/menus/ImportMenu.vue
index 39b80635..3d637ef5 100644
--- a/src/components/menus/ImportMenu.vue
+++ b/src/components/menus/ImportMenu.vue
@@ -7,7 +7,7 @@
Import Markdown
-
Open a plain text file.
+
Import a plain text file.
diff --git a/src/components/menus/MoreMenu.vue b/src/components/menus/MoreMenu.vue
index 19fb3d52..a8d1da87 100644
--- a/src/components/menus/MoreMenu.vue
+++ b/src/components/menus/MoreMenu.vue
@@ -77,11 +77,8 @@ export default {
...utils.queryParams,
exportWorkspace: true,
}, true);
- const iframeElt = utils.createHiddenIframe(url);
- document.body.appendChild(iframeElt);
- setTimeout(() => {
- document.body.removeChild(iframeElt);
- }, 60000);
+ window.location.href = url;
+ window.location.reload(true);
},
async settings() {
try {
diff --git a/src/components/menus/common/MenuEntry.vue b/src/components/menus/common/MenuEntry.vue
index bde5c7d1..00072d09 100644
--- a/src/components/menus/common/MenuEntry.vue
+++ b/src/components/menus/common/MenuEntry.vue
@@ -24,7 +24,7 @@
span {
display: inline-block;
font-size: 0.75rem;
- opacity: 0.6;
+ opacity: 0.67;
line-height: 1.3;
.menu-entry__label {
diff --git a/src/components/modals/PublishManagementModal.vue b/src/components/modals/PublishManagementModal.vue
index ccdbb71c..8cd2ff94 100644
--- a/src/components/modals/PublishManagementModal.vue
+++ b/src/components/modals/PublishManagementModal.vue
@@ -7,20 +7,32 @@
{{currentFileName}} is published to the following location(s):
{{currentFileName}} is not published yet.
-
-
-
+
+
-
- {{location.description}}
-
-
@@ -35,7 +47,7 @@