summernote / summernote

Super simple WYSIWYG editor
https://summernote.org
MIT License
11.58k stars 2.25k forks source link

Not able to copy paste table from word #4328

Closed Prakash-Ramasamy closed 1 year ago

Prakash-Ramasamy commented 2 years ago

Description of your Issue or Request:

Copy paste the table content from word document / Outlook mail is not working.

steps to reproduce (Add more if necessary):

Copy the table from word document and paste it in the rich text area.

What is your Operating System, Browser and Version and Summernote Version you are using:

This can help find and resolve any issues, place an x inside the brackets or if relevant elaborate after each choice.

  1. Operating System: [X ] Microsoft Windows [ ] Apple [ ] Linux [ ] All

  2. Browser and Version: [ ] Brave [ x] Chrome [ ] Edge [ ] Firefox [ ] Internet Explorer [ ] Opera [ ] Safari [ ] Other (Specify):

  3. Summernote Version, place an x inside the brackets: [ ] BS3 [ ] BS4 [ ] Lite [ x] All

DennisSuitters commented 2 years ago

Other than what the Browser does to pasted content, Summernote does not have API Functionality for processing content from Office software, as in any of them. You can try using the summernote-cleaner plugin.

1der1 commented 2 years ago

If you copy from Office software, you don't get HTML5. You need special converter software. My company offers a free website builder which automatically converts pasted code from Office software: https://1der1.com/blogs/news/ms-office-to-html-in-perfection The inbuilt editor is based on Summernote. You can copy the generated code using Code View.

DennisSuitters commented 1 year ago

This has been added to Project Issue Implementations, so as to clear up outstanding issues.