Replies: 5 comments 6 replies
-
You need to add the following items to the standard list of items in the second row of the toolbar in the tinymce.override.json file - |
Beta Was this translation helpful? Give feedback.
-
Just to add - these fonts won’t be included with your website, so they will only be displayed if the visitor has them installed on their OS. Generally, they are quite popular and available across various operating systems, but not always, and not all of them, especially when it comes to mobile devices. |
Beta Was this translation helpful? Give feedback.
-
ok 1
What content should those files have? 2 What is the implication of this
I see no option to add custom json code in site settings. Which leads me here: https://getpublii.com/docs/website-settings.html#editors So I can use above mentioned code in those text inputs? |
Beta Was this translation helpful? Give feedback.
-
As @GetPublii states there are forms for this in the Site Settings > Editor so I am no after adding files if it can be handled by the interface. Testing this but it is not working |
Beta Was this translation helpful? Give feedback.
-
So we can always resort to system fonts and CSS styling to modify what we see, but for those who just want to have a number of fonts and sizes readily available from the TinyMCE editor, will this work: https://www.tiny.cloud/blog/tinymce-custom-font-family/ ?
I also read this article about font sizes and such https://getpublii.com/docs/fonts.html but the selection of fonts is sitewide, instead of being available in content creation, which I would prefer. I understand why, and the default should always fall back to the globally selected font, but I have some cases where I just need to select another font in another size... like tables or some lists.
Any other suggestions for this? Can we successfully edit the TinyMCE files? Will they be overwritten by Publii updates?
Beta Was this translation helpful? Give feedback.
All reactions