あなたは以下の例のようにtrue
にimage_advtab
セットを持っている場合は、TinyMCEの中style
属性値を設定することができます。これを適用することで、挿入/編集画像に余分なタブが表示され、必要なスタイルが設定されます。
TinyMCEの例
tinymce.init({
selector: 'textarea',
height: 500,
theme: 'modern',
plugins: [
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools'
],
toolbar1: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
toolbar2: 'print preview media | forecolor backcolor emoticons',
image_advtab: true,
templates: [
{ title: 'Test template 1', content: 'Test 1' },
{ title: 'Test template 2', content: 'Test 2' }
]
});
どのようにイメージが固定サイズを持っていると同時に、応答することができますか? – zeroflagL
あなたはtinymceで必要な場合は 'tinymce.init'関数で' image_advtab:true'を設定するだけで各イメージにスタイルを適用できます。上記の設定で、画像の挿入/編集の詳細設定タブでスタイルを設定することができます –