Skip to content

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

@sac10nikam

Description

@sac10nikam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions