Thinkmill / Thinkmill/keystatic

[Feature Request] option to insert a new line above or below Content Component

Open
#1,417 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Description

While using content components, the only way to insert a new line (outside the component) is by inserting new lines inside the component. And this only works when inserting below. And it is impossible to insert something above, if the component is the first item.

It would be more suitable if we could just start a new line by clicking above and below the component.

(Current behavior)
https://github.com/user-attachments/assets/2b473a37-f3b5-4567-a28b-58cb60117c1d

(Requested behavior)

https://github.com/user-attachments/assets/ea9f8b48-0b0f-4144-82d9-39de22fa3094

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Reproduce the current and requested behavior shown in the linked videos, then trace how content components handle insertion above and below themselves. Done means users can create a new line above or below a content component, including above one that is the first item.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.