diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue
index e6dfd154..e13cdb1d 100644
--- a/components/publish/PublishWidget.vue
+++ b/components/publish/PublishWidget.vue
@@ -184,6 +184,13 @@ defineExpose({
editor.value?.commands?.focus?.()
},
})
+
+const isPublishDisabled = computed(() => {
+ if (isEmpty || isUploading || (draft.attachments.length === 0 && !draft.params.status))
+ return true
+
+ return false
+})
@@ -348,14 +355,31 @@ defineExpose({
-
+
+
+
+
+
diff --git a/locales/en-GB.json b/locales/en-GB.json
index 1a52196a..63bfdfa5 100644
--- a/locales/en-GB.json
+++ b/locales/en-GB.json
@@ -362,6 +362,8 @@
"tooltip": {
"add_content_warning": "Add content warning",
"add_media": "Add images, a video or an audio file",
+ "add_publishable_content": "Add content to publish",
+
"change_content_visibility": "Change content visibility",
"change_language": "Change language",
"emoji": "Emoji",
diff --git a/locales/en-US.json b/locales/en-US.json
index 8b2e81a5..684d672e 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -432,6 +432,7 @@
"tooltip": {
"add_content_warning": "Add content warning",
"add_media": "Add images, a video or an audio file",
+ "add_publishable_content": "Add content to publish",
"change_content_visibility": "Change content visibility",
"change_language": "Change language",
"emoji": "Emoji",