humhub / humhub-prosemirror

Other
17 stars 8 forks source link

pluginOptions' => ['exclude' => [ 'upload'] ] doesn't desactivate copy/paste images in the editor #142

Open Gilbertdelyon opened 3 months ago

Gilbertdelyon commented 3 months ago

See this thread https://github.com/humhub/humhub/issues/6995

In a custom module I would like users not adding images in a Richtextfield I can remove the 'upload' button from the menu, but you can still add images by way of a simple copy/paste. Please, could you add an option so that adding image or file is not possible by any way?

Gilbertdelyon commented 3 months ago

I just see that in native HH many Richtext fields (example: approval, decline,) dont have the 'image' button, but you can still copy/paste an image or a file. Not really a bug, but can be confusing.