I want to copy an image and paste it into rich text, but the url I paste in is local and will not be automatically uploaded to the server.
<ejs-richtexteditor :beforePasteCleanup="beforePasteCleanup" :imageUploadSuccess="onImageUploadSuccess" :imageSelected="imageSelected" :imageUploading="ImageUploadingEventArgs" :toolbarSettings="toolbarSettings" v-model="model.Content" :insertImageSettings="insertImageSettings" ref="defaultRTE" :height="400">
</ejs-richtexteditor>
insertImageSettings: {
saveUrl: 'https://*******'),
allowedTypes: ['.jpg','.png'],
path: "",
},
I will not automatically upload the pasted pictures to the server. Only local blobs can be saved automatically. In this case, the browser will restart and the image will not be displayed.
<ejs-richtexteditor :toolbarSettings="toolbarSettings" :insertImageSettings="insertImageSettings"> export default { name: "App", components: { "ejs-richtexteditor": RichTextEditorComponent, }, data() { return { toolbarSettings: { items: ['Image'] }, insertImageSettings: { path: "https://localhost:44329/Uploads/", saveUrl: "https://localhost:44329/Home/SaveImage", } }; }, provide:{ richtexteditor:[Toolbar, Link, Image, HtmlEditor, PasteCleanup] } }; |
In the official documents, where can I find all the modules?
I may not learn by myself. Are these things documented?
https://ej2.syncfusion.com/vue/documentation/rich-text-editor/toolbar/
It seems that PasteCleanup cannot be found in the document. How can I learn the most comprehensive component document?
Thank you. I may not have seen the translation software that is difficult to use in English. There was an introduction at the beginning.