Inline editing mode #164
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adding to --edit and --insert mode i want to try and build the option --inline.
For inline clicking a section does not switch to markdown but allows to inline edit the html. Changing the markdown happens, on leaving the edit by switching to another section or by hitting ctrl-enter.
Changing a section to edit mode should just indicate the fact with a light frame (maybe floating, to not change the page layout) and display the cursor.
I did some exploring on inline editing here: https://chatgpt.com/share/6902a38e-7244-8009-95f6-f9e09e0e79db
Feel free to research before implementation and compare solutions. I want to come up with a no additional dependencies solution that can evolve in our own responsibility.
Using enter should introduce linebreaks as with a typewriter. If one wants to accept the edit and leave the edit mode of the section, CTRL-ENTER is the way to go, as i specified before. ESC drops the changes and TAB accepts and switches to edit the next section. SHIFT-TAB accepts and switches the section before.