getgrav / getgrav/grav-plugin-admin

Page editor: an option for a fixed width

Open
#1,159 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

[Feature request] I like the distraction-free writing mode, but I find it annoying to read/write long lines of text. On my 16:9 1080p monitor, this is how the mode looks:
![screenshot from 2017-07-15 10-28-17](https://user-images.githubusercontent.com/11543641/28237961-edf1bb8c-6949-11e7-805b-3b0869a3e4a0.png)

What I'd like to have is something more like this, which was achieved by adding a padding property to an appropriate HTML element locally.

![screenshot from 2017-07-15 10-35-37](https://user-images.githubusercontent.com/11543641/28237977-37bfcace-694a-11e7-86f4-f97fa0ba7a83.png)

I looked around in the editor toolbar, admin panel settings and issues here, but couldn't really find anything relating to this.

It would be nice to have an option in the admin panel settings to fix the width of the content editor (eg. to 760px), and/or a button in the editor toolbar to switch to a more readable format. But if I could get this done by somehow overriding the CSS of the Page editor in my theme, that would work for me too.
Thanks for reading!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the Page editor and its admin-panel settings in grav-plugin-admin, then trace how the editor layout is styled and configured. Done means the editor can use a readable fixed width through a supported option or control, with the behavior verified in the admin interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, php
Domain
design, frontend
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.