1、找到  // forecolor 菜单

wangEditor2 扩展(二)文字颜色自定义

 

 

$content.append(
		    [
		        '<a href="#" class="color-item" title="ec610c" commandValue="ec610c" style="color: #ec610c"><i class="wangeditor-menu-img-pencil" style="width: 18px;height: 18px;display: block;background:#ec610c;"></i></a>',
				'<a href="#" class="color-item" title="ffffff" commandValue="ffffff" style="color: #ffffff"><i class="wangeditor-menu-img-pencil" style="width: 18px;height: 18px;display: block;background:#ffffff;"></i></a>',
				'<a href="#" class="color-item" title="8a8a8a" commandValue="8a8a8a" style="color: #8a8a8a"><i class="wangeditor-menu-img-pencil" style="width: 18px;height: 18px;display: block;background:#8a8a8a;"></i></a>',
				'<a href="#" class="color-item" title="535353" commandValue="535353" style="color: #535353"><i class="wangeditor-menu-img-pencil" style="width: 18px;height: 18px;display: block;background:#535353;"></i></a>'
		    ].join('')
		);

3、还可以调整这里

wangEditor2 扩展(二)文字颜色自定义

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
  • 2021-10-04
  • 2021-08-07
  • 2021-08-01
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案