【问题标题】:how can I add colorpicker on the default rich text editor of grapesjs to change font colors?如何在grapesjs的默认富文本编辑器上添加颜色选择器来更改字体颜色?
【发布时间】:2021-11-24 15:45:40
【问题描述】:

我将使用颜色选择器更改字体颜色,然后像这样添加它。但它现在不工作。我认为这是因为'rte.exec()'请帮助我如何更改字体颜色。谢谢enter image description here

【问题讨论】:

    标签: rich-text-editor rte grapesjs


    【解决方案1】:

    init 方法内部强文本

    grapesjs.init({ 选色器: { appendTo: '父', 偏移量:{顶部:26,左侧:-166,}, },

    });
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-24
      • 1970-01-01
      相关资源
      最近更新 更多