【问题标题】:Add Google Fonts to Primefaces Text Editor将 Google 字体添加到 Primefaces 文本编辑器
【发布时间】: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


    【解决方案1】:
    1. 示例如何将自定义字体添加到库 QuillJS TextEditor 使用:https://quilljs.com/playground/#custom-fonts

    2. 目前无法使用 PF 向 PF 组件注册您自己的 QuillJS 模块。我建议您在此处请求增强 PF 页面: https://github.com/primefaces/primefaces/issues

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-15
      • 2023-02-22
      • 1970-01-01
      • 1970-01-01
      • 2016-05-01
      • 1970-01-01
      相关资源
      最近更新 更多