Comments (8)
@davidroyer It looks like the problem occurs, when the text has some whitespace between the list items, like <ul><li>Test</li> some whitespace characters <li>Link2</li></ul>
from vue2-editor.
In my case, I used after changing like this.
PHP
$html = preg_replace("/>\s+</","><", $html);
I think you guys can be processing with regex even other language until it is resolved.
from vue2-editor.
Sorry about the issues. I have updated Vue2Editor to 2.0 using v-model because of these same issues and it should resolve these problems. I'm closing this but let me know/reopen it if you have any other issues or questions.
from vue2-editor.
I am having the same issue. Did somebody find a way to fix it?
from vue2-editor.
from vue2-editor.
This bug reproduces. ↓
https://codesandbox.io/embed/vue-template-pbluo
I fix it with the following PR↓
#194
from vue2-editor.
from vue2-editor.
@davidroyer It's still a bug. I've had the same issue like @ghost and @macoshita before. The pull request solves the issue. Could you take a look and check for any side effects?
Thank you for offering such a great module.
Cheers,
Michael
from vue2-editor.
Related Issues (20)
- Allow customToolbar to be a string element id HOT 1
- Problem with h2 in vue-editor HOT 3
- properties `disabled` and `placeholder` do not work together HOT 2
- when `disabled`, cursor is still in `text` mode HOT 2
- Initial content stomped by @input event
- validate maximum word limit HOT 2
- editor doesn't support nuested <ul> tags HOT 2
- 怎么上传视频前设置视频尺寸 HOT 2
- How can I trim the white spaces at the beginning and at the end of the editor? HOT 2
- ctrl+v 上传图片不会触发自定义image-added事件 HOT 2
- Validation rule for Vue2-editor 🔍 HOT 2
- How disable copy/paste HOT 3
- Vue 3 support HOT 3
- Quill's upcoming upgrade to version 2 HOT 7
- limits? HOT 2
- Editor doesn't see list HOT 3
- How to auto focus? HOT 2
- Change toolbar background color HOT 2
- Can the parameter of image-removed only return base64? HOT 3
- content security policy guidelines for vue2-editor in the documentation is not present HOT 3
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.
from vue2-editor.