You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to 'exclude' => ['oembed', 'upload'] the upload button it not in the editor menu,
but it is still possible to insert an image by way of a simple copy/paste.
Question: Is there a simple way to configure this specific RichtexField so that the user cannot insert any image at all ?
The text was updated successfully, but these errors were encountered:
I a custom module I have a form with RichtextField thanks to this piece of code
$form->field($model, 'mytext')->widget(RichTextField::class, [ 'pluginOptions' => ['maxHeight' => '600px', 'id'=>'mytext','exclude' => ['oembed', 'upload'] ]]);
It works!
Thanks to
'exclude' => ['oembed', 'upload']
the upload button it not in the editor menu,but it is still possible to insert an image by way of a simple copy/paste.
Question: Is there a simple way to configure this specific RichtexField so that the user cannot insert any image at all ?
The text was updated successfully, but these errors were encountered: