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
[QUESTION] How to change the default font family in the Editor? #93
Comments
To set the default font I think you can do: HtmlEditor(
callbacks: Callbacks(
onInit: () {
controller.execCommand('fontName', argument: "font_name_here");
}
)
) Your font name has to be inserted in the exact same way it would be in HTML, for example I haven't tested this but I think it should work, and you can use |
Hope this helped you, let me know if you have further questions. |
Thanks for bringing to my attention, that was a mistake on my part. Fixing right now :) |
I try to set fontName like you, but I can't change the default font family in the editor. (I don't use defaultToolbarButtons.)
|
sama for me |
I want to remove the font-family drop down and set one default font. How can I do that?
The text was updated successfully, but these errors were encountered: