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

[Feature Request]: Please add "Font Size" to the TinyMCE editor used for the WYSIWYG editor #1691

Closed
bjazmoore opened this issue Sep 14, 2024 · 1 comment

Comments

@bjazmoore
Copy link

Feature Description

Font size is a core toolbar element supported by TinyMCE. Publii could support it by coding the style inline within a tag.

From the TinyMCE website:
1

It would make sense to support this in the Blocks editor. I do not know what the underlying technology for the blocks editor is though, so unsure if this would be supported.

@dziudek
Copy link
Collaborator

dziudek commented Sep 28, 2024

@bjazmoore - you can add any TinyMCE core features using available API: https://getpublii.com/dev/how-to-add-custom-config-or-js-for-post-editor/

Such feature is not good, because font size should be modified by usage of different styling not style attributes, because it can break visual compatibility when switching themes. That's why it is not available by default

@dziudek dziudek closed this as completed Sep 28, 2024
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