Go to one of your post and click Edit to open the composer. Don’t type anything.
Press the Esc key => as expected, the composer disappears completely (it isn’t minimized, because the post hasn’t been modified).
Refresh the browser page => the composer comes back.
In step 2, if you click the Cancel button instead of pressing the Esc key, the behavior is correct, i.e. the composer doesn’t come back after browser refresh.
هذا الملف معقد للغاية @eviltrout … لا يمكنني الانتظار حتى نضيف دعم async، لأن مجموعة كبيرة من الطرق تعيد أحيانًا وعدًا (promise) وأحيانًا أخرى تعيد كائنًا، مما يجعل استنتاج الأمور صعبًا للغاية.
في الوقت الحالي، أضفت بضع وعود وتجاوزات حتى لا نحفظ مسودة فورًا بعد النقر على زر التعديل. كان هذا أيضًا يُشعر @supermathie بالجنون لأنه جعل نسخ النص من عدة ردود إلى المنشور الأصلي معقدًا ومزعجًا للغاية.