电子邮件模板的AllowedContent配置

时间:2013-07-10 10:29:50

标签: ckeditor

是否创建了任何一个allowedContent选项文件,可用于编辑器,为电子邮件生成格式良好的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对于适用于电子邮件的WYSIWYG编辑器有什么好的配置。

0 个答案:

没有答案