仅针对图像及其缩放图标的自定义 WYSIWYG 编辑器 - WYSIWYG
作者: sac10nikam创建于 2024年12月24日更新于 2024年12月31日
我有一个要求,我只想保留一个图像图标,而且要放在 textarea 的中间。同时保留用于调整图像大小的 4 个图标。在选择图像后,请提供建议。 我尝试传递以下指定的属性,但没有成功。 我遵循了 - 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' }, ]; 请提供 https://formio.GitHub.io/formio.js/app/examples/custombuilder.html 中 WYSIWYG 编辑器的示例。
内容来源: jpuri/react-draft-wysiwyg