Customize editor theme/layout
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
I just found panwriter and I am in love ❤️
I would love it even more if I could control a bit more of the editor. When I go full screen I would like to have the text be right aligned and go full width. Although I know this is likely not going to be a universally wanted item.
current

better

best

I can manually get what I want by modifying css
.CodeMirror-lines {
margin: 0 auto;
max-width: 40em;
padding: 60px 50px 50px;
}
to
.CodeMirror-lines {
/* margin: 0 auto; */ /* makes it better */
/* max-width: 40em; best*/ /* makes it best */
padding: 60px 50px 50px;
}
but having this available as a setting would be great!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the editor styles for .CodeMirror-lines and review how the current CSS controls margin, max-width, and padding. Define a setting that exposes the requested full-width and alignment choices, then verify the editor reflects those choices in full-screen mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, electron, react, typescript
- Domain
- desktop-dev, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100