如果可以在Tinymce中设置多个类来映像,请告诉我吗?现在我在Tinymce初始化函数中有类似的东西:
image_class_list: [
{ title: 'None', value: ''},
{ title: 'Left', value: 'fL'},
{ title: 'Right', value: 'fR'},
{ title: 'Gallery', value: 'gallery'}
],
允许我从图像对话框中的此列表中选择一个类。我想设置不止一个。有可能吗?
答案 0 :(得分:1)
你确实可以使用这样的多个类:
image_class_list: [
{title: 'None', value: ''},
{title: 'Dog', value: 'dog'},
{title: 'Cat', value: 'cat'},
{title: 'DogCat', value: 'cat dog'}
],
请注意最后一个使用以空格分隔的多个值的示例。