祝大家有美好的一天。我需要在ckeditor的段落标签上放一个类。在 config.js 中我添加了:
...
config.format_p = { element : 'p', attributes : { class : 'whatever' } };
...
如http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.format_p。
问题是该类没有被识别(段落仍然没有任何类)。有人可以帮忙吗?