我们通常都会使用富文本编辑器在后台编辑内容,开发vue当然也少不了,我们通过vue官网的链接可以找到一些资源,或者去github上查找一些开源的编辑器。 我使用的是vue-quill-editor,它的界面很简洁,功能也满足平时的编辑需要,不过于臃肿,但是它默认的图片上传是使用Data URL方式保存到了内容里,这不是我想要的,我相信大部分人也不想这样去保存图片,还好quill提供了如何去自定义按钮事件的demo(03-example.vue),那么我们就可以自己去实现图片的保存方式了。
quilleditor's Introduction
quilleditor's People
Forkers
ttxy0105 leetia316 xygahs0801 lazybeancn dongzhihan jeromehan baiyujie yangyuchan 775203629 caojiaquan smile-shop ding-xu zhangzhaodi zerownn yangzaili baiyangbaby dengqianyi cqgsm yuanwyj caoairong liqiangno1 nangongxixi yexiaoonline polojane hotoranges hiblacker thundercrawl web-zhangpei lvwenqi hanbenhao lzslzs king-fang ethansqj liqiang199105 liu-jiang-tao hdmy wangwei0618 linqingxiong tanjunxin xudodquilleditor's Issues
url
google翻译之后,富文本没办法输入内容
一个页面存在多个富文本 会报错
当一个页面存在至少两个富文本的时候 会报错
不截切方式图片上传服务器接收不了图片信息
在文件Quilleditor.vue代码226行出现如下错误
var self = this;
var data = new FormData;
data.append(this.fileName, fileInput.files[0],name);//此处的name不需要,多了name会造成图片上传服务器接收不了文件信息
this.editor.focus();
data.append(this.fileName, fileInput.files[0],name);//此处的name不需要,多了name会造成图片上传服务器接收不了文件信息
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.