In this case, we have some bottlenecks to get over like the following.
Is it enough to provide some CTRL+S functionality. Since I had heard that preventing opening a new window within (for example, in Chrome) browser is disabled and no way to achieve this by .preventDefault or stopPropagation, maybe adding a new button/icon just into the top bar labeled as "New" or such kind of string and open a new modal to get the current file name. After these steps, save the file with the given name within the current directory.
Hi @altayaydemir
In this case, we have some bottlenecks to get over like the following.
Is it enough to provide some CTRL+S functionality. Since I had heard that preventing opening a new window within (for example, in Chrome) browser is disabled and no way to achieve this by .preventDefault or stopPropagation, maybe adding a new button/icon just into the top bar labeled as "New" or such kind of string and open a new modal to get the current file name. After these steps, save the file with the given name within the current directory.
Thanks
Barış