【发布时间】:2019-12-03 08:32:02
【问题描述】:
有谁知道我是否可以向 Primefaces textEditor 组件添加更多字体(包括 Google 字体)。
Primefaces 展示和textEditor 的实现只有三个可用组件。
https://www.primefaces.org/showcase/ui/input/textEditor.xhtml
【问题讨论】:
标签: primefaces text-editor google-font-api
有谁知道我是否可以向 Primefaces textEditor 组件添加更多字体(包括 Google 字体)。
Primefaces 展示和textEditor 的实现只有三个可用组件。
https://www.primefaces.org/showcase/ui/input/textEditor.xhtml
【问题讨论】:
标签: primefaces text-editor google-font-api
示例如何将自定义字体添加到库 QuillJS TextEditor 使用:https://quilljs.com/playground/#custom-fonts
目前无法使用 PF 向 PF 组件注册您自己的 QuillJS 模块。我建议您在此处请求增强 PF 页面: https://github.com/primefaces/primefaces/issues
【讨论】: