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

Option for default font family and size #1726

Open
ceskyDJ opened this issue Aug 27, 2024 · 2 comments
Open

Option for default font family and size #1726

ceskyDJ opened this issue Aug 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ceskyDJ
Copy link

ceskyDJ commented Aug 27, 2024

Is your feature request related to a problem? Please describe.

Since font family and font size options in toolbar of "New email" modal apply only on selected text (there is no way to set default via these options at least as I has been able to discover) there is a lack of some settings option for default font family and font size for new emails (new texts in emails without needing of their manual selection and modification).

Describe the solution you'd like

A little confusing is that buttons for changing font family and font size shows some values (Arial, 16px) but this settings aren't applied to the message at all. It just looks like that. So, I think it could be a little better, when there is no selected values, when the selected (or under cursor) text in the message isn't properly styled (hasn't font-size/font-family CSS properties).

Describe alternatives you've considered

Another way how to handle this is to use the default-selected values for the whole message except for parts, where I manually change it (so cover the message into <div> or another wrapper element and add it font-family: Arial, ...; font-size: 16px;), so it would behave just like the users expect (as editor tells them).

The best solution could be to add global settings for font family and font size to Settings section and use these options as defaults for editor buttons and some cover element as I described in the previous paragraph. But yeah, this si the most complicated and time consuming for implementation as I think.

Additional context

https://www.awesomescreenshot.com/video/30918137?key=c8c6a45fac2f0dd426dc5867de91f92f

@the-djmaze the-djmaze added the enhancement New feature or request label Sep 21, 2024
@ceskyDJ
Copy link
Author

ceskyDJ commented Sep 22, 2024

Nice, thanks!

What about the settings options for default font size sand don't family? Now, it shows correct information in the editor but I have to always change font size and don't family, when I compose a new message. Should I create another issue for it?

@the-djmaze
Copy link
Owner

Well it was partially added. So reopening

@the-djmaze the-djmaze reopened this Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants