Custom WYSIWYG editor for only image and its resizing icons - WYSIWYG

Author: sac10nikamCreated Dec 24, 2024Updated Dec 31, 2024

I have one requirement where I just want to keep an image icon and that too in the center of the textarea. And keep the 4 icons which are used for image resizing.. after selecting the image..

Any suggestions?

I tried to pass below given properties but no luck.. I am following - https://formio.github.io/formio.js/app/examples/wysiwyg.html

components: [ { type: 'textarea', label: 'Upload an Image', wysiwyg: { theme: 'snow', // modules: { // toolbar: false, // }, modules: { toolbar: [ ['image'], ], }, placeholder: 'Upload an image...', }, validate: { required: true }, key: 'content', input: true, inputType: 'text' }, ];

Any example of https://formio.github.io/formio.js/app/examples/custombuilder.html for the WYSIWYG editor

Source: jpuri/react-draft-wysiwyg