Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ckeditor 允许电子邮件模板的内容配置_Ckeditor - Fatal编程技术网

Ckeditor 允许电子邮件模板的内容配置

Ckeditor 允许电子邮件模板的内容配置,ckeditor,Ckeditor,是否创建了一个allowedContentoptions文件,可用于为电子邮件生成格式良好的HTML的编辑器?我正在使用ckEditor 4.1.2 到目前为止,我有这个,但我正在努力显示字体,家庭和大小下拉列表。目前,我的下拉列表没有出现 config.allowedContent = 'p;' + 'sup strike blockquote code kbd samp var del ins cite q b i u strike ul ol li hr ca

是否创建了一个
allowedContent
options文件,可用于为电子邮件生成格式良好的HTML的编辑器?我正在使用ckEditor 4.1.2

到目前为止,我有这个,但我正在努力显示字体,家庭和大小下拉列表。目前,我的下拉列表没有出现

   config.allowedContent =
      'p;' +
      'sup strike blockquote code kbd samp var del ins cite q b i u strike ul ol li hr caption; ' +
      'img[!src,alt,align,width,height]; font[!face]; font[!family]; font[!color]; font[!size]; font{!background-color}; a[!href]; a[!name]; ' +
      'table tbody tr td th[*]{*}(*);';

此外,我也不能100%确定,对于电子邮件所见即所得编辑器而言,
allowedContent
的良好配置是什么样子的。

您看过这个示例吗?谢谢,我也发现了这个,这似乎就是我想要的(这是V4.1以后的版本)