Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize editor theme/layout #91

Open
shaneknysh opened this issue Jan 17, 2022 · 2 comments
Open

Customize editor theme/layout #91

shaneknysh opened this issue Jan 17, 2022 · 2 comments

Comments

@shaneknysh
Copy link

shaneknysh commented Jan 17, 2022

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
image

better
image

best
image

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!

@mb21
Copy link
Owner

mb21 commented Jan 18, 2022

Adding some settings/preferences is on the TODO list... but I haven't really decided the details yet...

@mb21
Copy link
Owner

mb21 commented Jan 29, 2022

We could easily allow switching between different CodeMirror themes... but not sure we want to allow injecting arbitrary CSS. Or let's just say, if I would allow this, I wouldn't give any guarantees to users that a PanWriter update won't break their setup.

@mb21 mb21 changed the title Don't center Editor or allow some editor window configuration Editor configuration Jan 29, 2022
@mb21 mb21 changed the title Editor configuration Customize editor theme/layout Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants