Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将使用颜色选择器更改字体颜色,然后像这样添加它。但它现在不工作。我认为这是因为'rte.exec()'请帮助我如何更改字体颜色。谢谢你。在此处输入图像描述
init方法里面的强文本
grapesjs.init({ colorPicker: { appendTo: 'parent', offset: { top: 26, left: -166, }, },
});