diff --git a/Wino.Mail/Dialogs/SignatureEditorDialog.xaml b/Wino.Mail/Dialogs/SignatureEditorDialog.xaml
index ff796e37..ce17da4a 100644
--- a/Wino.Mail/Dialogs/SignatureEditorDialog.xaml
+++ b/Wino.Mail/Dialogs/SignatureEditorDialog.xaml
@@ -137,6 +137,9 @@
+
+
+
-
-
-
-
-
-
-
diff --git a/Wino.Mail/Dialogs/SignatureEditorDialog.xaml.cs b/Wino.Mail/Dialogs/SignatureEditorDialog.xaml.cs
index f08190dd..099212e8 100644
--- a/Wino.Mail/Dialogs/SignatureEditorDialog.xaml.cs
+++ b/Wino.Mail/Dialogs/SignatureEditorDialog.xaml.cs
@@ -170,11 +170,6 @@ namespace Wino.Dialogs
await InvokeScriptSafeAsync("editor.execCommand('outdent')");
}
- private async void DirectionButtonClicked(object sender, RoutedEventArgs e)
- {
- await InvokeScriptSafeAsync("document.getElementById('directionButton').click();");
- }
-
private async void AlignmentChanged(object sender, SelectionChangedEventArgs e)
{
var selectedItem = AlignmentListView.SelectedItem as ComboBoxItem;
diff --git a/Wino.Mail/JS/editor.js b/Wino.Mail/JS/editor.js
index ffbe3a03..328f7c2a 100644
--- a/Wino.Mail/JS/editor.js
+++ b/Wino.Mail/JS/editor.js
@@ -12,7 +12,8 @@ const editor = Jodit.make("#editor", {
"showPlaceholder": false,
"uploader": {
"insertImageAsBase64URI": true
- }
+ },
+ "enter": "DIV",
});
// Handle the image input change event
diff --git a/Wino.Mail/Views/ComposePage.xaml b/Wino.Mail/Views/ComposePage.xaml
index 6724d7ac..37b43af5 100644
--- a/Wino.Mail/Views/ComposePage.xaml
+++ b/Wino.Mail/Views/ComposePage.xaml
@@ -263,6 +263,8 @@
+
+
-
-
-
-
-
-
-
-
-
-