editor.html setFontFamily()
pdkn opened this issue · 2 comments
I'm trying to customs the editor with a custom font and styling. I can see editor.html has setFontFamily() but it doesn't seem to be wired up to the actions available? I've also failed to use setCustomCSS() to set custom styles. Any pointers? none of these work
this.richtext.setCustomCSS("fontName:'MY-Regular'")
this.richtext.setCustomCSS("fontFamily:'MY-Regular'")
this.richtext.setCustomCSS("font-family:'MY-Regular'")
this.richtext.setCustomCSS("body:{fontFamily:'MY-Regular'}")
this.richtext.setCustomCSS("color:blue")
Any change of some examples on using setCustomCSS() and if setFontFamily() is accessible? Thanks
@pdkn So, did you find out how to change the font family? I'm having the same issue. Thanks!
@skizzo Same here!
Did you guys find any solution for this?