typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
424 stars 60 forks source link

Visual/block editor: hitting enter twice does not create a new paragraph #435

Closed barryhughes closed 1 month ago

barryhughes commented 4 months ago

The video tutorial found in the Writers page of the docs notes that hitting enter twice will cause the block to be saved and that a new paragraph will automatically be opened below. In my testing with 2.0.3 in both Firefox and Opera, only the first of those things happens (the block is saved, but a new paragraph is not automatically opened).

hit-enter-twice

I'm a little unsure if the docs are current and this is a bug, or if it is a new feature of 2.0.3. If the latter, and what I'm seeing is expected, is there a keyboard shortcut that can be used to select what the next block should be?

I think opening a new paragraph automatically is probably what most people would want and expect, but it would also be kind of nifty if the content-type selector bar (I'm sure that's not the correct name, but adding a screenshot of the UI I'm referring to below 😄) received the focus and one could select the next content type using arrow keys and hitting space/enter.

editor-selector-bar

trendschau commented 3 months ago

Sorry for late answer and thank you for the report. Yes, you are right, I will try to add this behavior again in the next release. New paragraph-block should open if you are at the end of the page.

barryhughes commented 3 months ago

Great, thanks!

trendschau commented 1 month ago

this has been added to version 2.2.2

barryhughes commented 1 month ago

Thanks!