surmon-china / ngx-quill-editor

🍡@quilljs editor component for @angular
https://github.surmon.me/ngx-quill-editor
MIT License
232 stars 54 forks source link

Not able to add font #28

Closed nikuelias closed 6 years ago

nikuelias commented 7 years ago

I'm trying to add the Roboto font.

public editorConfig = { modules: { toolbar: [ ['bold', 'italic', 'underline', 'strike'], [{ 'list': 'ordered'}, { 'list': 'bullet' }], [{ 'header': [1, 2, 3, 4, 5, 6, false] }], [{ 'color': [] }, { 'background': [] }], [{ 'font': ['roboto'] }], [{ 'align': [] }], ['link', 'image'], ['clean'] ] } }; It's not adding it, also it's repeating Sans Serif twice.