Я пишу в панели инструментов объекта конфигурации кнопки и как fontSize не работает
в angular.json
добавляю scripts
"node_modules/froala-editor/js/froala_editor.min.js",
"node_modules/jquery/dist/jquery.min.js",
"node_modules/froala-editor/js/plugins.pkgd.min.js",
"node_modules/froala-editor/js/plugins/font_size.min.js",
"node_modules/froala-editor/js/froala_editor.pkgd.min.js"
и добавьте css
к angular.json
но это не работает
Угловой 7
Я использую официальный репо от froala
https://github.com/froala/angular-froala-wysiwyg
export const FroalaConfig = {
toolbarBottom: true,
charCounterCount: true,
fontSize: ['8', '9', '10', '11', '12', '14', '18', '24', '30', '36', '48', '60', '72', '96'],
toolbarButtons: [
['bold', 'italic', 'underline', 'strikeThrough'],
['subscript', 'fontSize', 'superscript']
],
toolbarButtonsMD: [
['bold', 'italic', 'underline', 'strikeThrough'],
['subscript', 'fontSize', 'superscript']
]
}
Я использую этот объект конфигурации, а fontSize не работает в шаблоне