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
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