Skip to content

Build your personal knowledge base with Trilium Notes

allow exporting code notes from note actions, closes #1315

zadam991b335c3e00
diff --git a/src/public/app/widgets/note_actions.js b/src/public/app/widgets/note_actions.js
index 60eba0229c..77b2a5f191 100644
--- a/src/public/app/widgets/note_actions.js
+++ b/src/public/app/widgets/note_actions.js
@@ -126,13 +126,6 @@ export default class NoteActionsWidget extends TabAwareWidget {
this.$showSourceButton.attr('disabled', 'disabled');
}
- if (note.type === 'text') {
- this.$exportNoteButton.removeAttr('disabled');
- }
- else {
- this.$exportNoteButton.attr('disabled', 'disabled');
- }
-
this.$protectButton.toggle(!note.isProtected);
this.$unprotectButton.toggle(!!note.isProtected);
}