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

options issue #29

Closed YKKate closed 6 years ago

YKKate commented 6 years ago

Hello, I found the config options is not working. It seems like the option has been missed in the js, Because after I use the code from the left column of this, the options is working.(But the table is not defined)

Thank for the plugin, it's the only one wysiwyg plugin I can use.

nawalnew commented 6 years ago

25

Try the newest VueJS and vue-wysiwyg. Could be the fix. Worked for me.

YKKate commented 6 years ago

I update VueJS, Vue-cli, and vue-wysiwyg. It looks the same.

And when I clicked the toolbar btn, the dashboard is flash.

nawalnew commented 6 years ago

My Config is: import wysiwyg from "vue-wysiwyg"; import "vue-wysiwyg/dist/vueWysiwyg.css"; Vue.use(wysiwyg, { hideModules: { headings: true } });

It works at my project. maybe you did not include it right oder a typo?

YKKate commented 6 years ago

My confusion is that when I replace the code 'node_modules/vue-wysiwyg/dist/vueWysiwyg.js' with the code in #15 ,it is successful.

chmln commented 6 years ago

This is a duplicate of #30, and #30 is now fixed :tada: