]> git.mxchange.org Git - friendica.git/commitdiff
Optimisation of the Composer Editor
authorloma-one <44441246+loma-one@users.noreply.github.com>
Thu, 22 Aug 2024 09:16:56 +0000 (11:16 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Aug 2024 09:16:56 +0000 (11:16 +0200)
As a result of the changes, the editor is started in a larger window. In addition, the authorisation settings for the article are hidden for the time being. These can be shown via a sandwitch menu if required. The reload of the page is prevented so that articles already created in the editor are not lost.

The Composer Editor is another editor in Friendica that is particularly suitable for entering longer texts (e.g. at the local workstation). The special feature is that the editor is loaded in a separate window and therefore does not distract from the timeline. The editor can still be used in mobile applications

view/templates/item/compose.tpl

index 9cb8903ffc0a99d7a9aa06c4a560ab5f24c332c8..2890d766b02c3184d73d59f3ae301c96f7db0716 100644 (file)
 
     window.addEventListener("beforeunload", function (event) {
         if (!formSubmitting) {
-            var confirmationMessage = 'Sind Sie sicher, dass Sie die Seite neu laden möchten? Alle ungespeicherten Ã„nderungen gehen verloren.';
+            var confirmationMessage = 'Are you sure you want to reload the page? All unsaved changes will be lost.';
             event.returnValue = confirmationMessage;
             return confirmationMessage;
         }