当前位置:网站首页>Using the uniapp rich text editor

Using the uniapp rich text editor

2022-07-04 23:26:00 TTT Donald Duck

Third party component

jin-edit— Imitation Jane book is a very easy-to-use rich text editor

step

1 Download components to project

2 Page using

<jinEdit 
	placeholder=" Please enter the content " 
	@editOk="editOk" 
	:uploadFileUrl="UPLOAD_URL" 
	:header="{Authorization}">
</jinEdit>

3 Modify the internal upload logic of the component

//  Image upload server 
await uni.uploadFile{... Modify here }

effect

 Insert picture description here

Just modify the components directly for more customization

原网站

版权声明
本文为[TTT Donald Duck]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041940466141.html