Voog / wysihtml

Open source rich text editor for the modern web
http://wysihtml.com
MIT License
3.36k stars 336 forks source link

NPM Package instructions, usage with webPack? #374

Open davidwieler opened 7 years ago

davidwieler commented 7 years ago

Any way to get some instructions on how to require this with webpack in the docs?

I spent a few hours trying to figure it out, and in the end just ended up deleting the module.

dmr commented 6 years ago

Did you solve the problem? I have the same issue here

davidwieler commented 6 years ago

@dmr Not at all. Due to the lack of support, and my ticket being closed with no resolution I removed wysihtml and went with Summernote. It's more customizable and just works.

dmr commented 6 years ago

Thank you for your reply @davidwieler ! I guess we'll go the same path. I'm just looking for a reliable "paste from word" Editor...

davidwieler commented 6 years ago

TinyMCE is a really good option and has that. We set up the newest version a couple weeks ago and it was a breeze.

davidwieler commented 6 years ago

@dmr ^^

dmr commented 6 years ago

Thank you for your reply. I'll try it

pitpit commented 5 years ago

If someone need it, you can enable wysihtml using https://webpack.js.org/loaders/script-loader/ that way:

import 'script-loader!wysihtml/dist/wysihtml.js';
import 'script-loader!wysihtml/dist/wysihtml.toolbar.js';

Unfortunately I did not manage to make it work w/o script-loader