chmln / vue-wysiwyg

A lightweight WYSIWYG HTML editor for Vue.js
https://chmln.github.io/vue-wysiwyg/
MIT License
555 stars 134 forks source link

Insert table not working #39

Closed maxrgus closed 6 years ago

maxrgus commented 6 years ago

Version 1.4.0

Error: Uncaught TypeError: Failed to execute 'addRange' on 'Selection': parameter 1 is not of type 'Range'.

How to reproduce: Present on demo page https://chmln.github.io/vue-wysiwyg/

sempixel commented 6 years ago

It seems headings, link and table don't work on Firefox 57.0.4

Table works on Chrome 63.0

nicogominet commented 6 years ago

@sempixel Headings, link, table and image upload don't work for me on Chrome 63.0 either. I've got the same error as @maxrgus.

sempixel commented 6 years ago

@NicolasPK Yeah sorry, I was on 1.3.3 for testing purposes. With 1.4.0, I've got same errors.

chmln commented 6 years ago

Thanks for raising the issue @maxrgus

I will publish a fix asap

chmln commented 6 years ago

v1.4.1 is out with the fix