Just happened across this summernote plugin searching for a way to paste from a Word document. I’ve only done minimum testing but seems to work fairly well so far and easy to implement. For sure better than pasting into summernote from a Word doc. One bug I did find that is if you don’t click inside the summernote input before importing, it will import the text somewhere random in the DOM haha.
Here’s a quick video of me importing a simple word doc.
Also, if you want to change the button icon, just edit this line of code in the summernote-docximport.js file:
Yes it imports the whole document which is kind of what I needed anyway. I wrote a little training builder for a communcations company and I didn’t anticipate them pasting a word document in, instead of attaching it as reading material, so I needed a quick fix. Would love a full blown copy and paste feature to Summernote but haven’t found one yet and this import plugin (while minimal) was quick and easy to get going.
Not sure what I did wrong, but it shows it’s installed, but doesn’t appear in the extensions module folder therefore doesn’t show up as a server connect action option.
Forgot to mention I did that too. However, the files never downloaded to the extensions/server_connect/modules folder. I even did a search through the whole project for the files to see if it accidently installed them somewhere else.
But did this npm i @hyperbytes/wappler-docx2html and then copy both files from: node_modules/@hyperbytes/wappler-docx2html/server_connect/modules
to: extensions/server_connect/modules