Coder Social home page Coder Social logo

Comments (2)

danallison avatar danallison commented on May 20, 2024

Hi @nkallman . Thanks for opening this issue.

The behavior for blank items is intentionally different than items with text. Pressing enter on a blank item should outdent the item. This is consistent with the list item behavior of document editors like Google Docs or Microsoft Word. However, if the item is outdented as far as it can go, then nothing happens, which I agree is odd. It should create new blank items in that case.

For now, if you want to create multiple blank items, there is the new item command. The default keyboard shortcut for this is alt + enter. Depending on when you signed up, that shortcut may or may not be in you preferences already. If it's not, you can copy-paste into your keyboard shortcuts

alt + enter
  new item

.

This command/shortcut is also useful if you want to create a new item without splitting the text at the cursor, which is the default behavior when just pressing enter.

from calculist.

danallison avatar danallison commented on May 20, 2024

Ok. I just deployed a fix so that pressing enter on a blank item that cannot outdent creates a new blank item. Let me know if you run into any other strange behaviors like this.

from calculist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.