Kamil Sindi
Kamil Sindi

Reputation: 22862

Paste Excel Table into TinyMCE while Keeping Format

Is there a TinyMCE plugin that allows to paste a table from MS Excel while also keeping the format of that table?

Partial solution: So using the paste plugin, you can paste the Excel table onto Word and then from Word paste it onto TinyMCE, which formats correctly. This is not ideal but better than nothing. Still hoping someone has a better solution.

Upvotes: 7

Views: 11634

Answers (3)

kiran
kiran

Reputation: 61

To Paste Excel data into TinyMCE Editor with formatting,

Please refer: Paste Excel data into TinyMCE with Formatting

Hope this will help you.

Upvotes: 0

Kamil Sindi
Kamil Sindi

Reputation: 22862

One thing that works is if you copy as image in MS Excel and then paste the table as an image.

Upvotes: 0

Thariama
Thariama

Reputation: 50840

You might want to check out the paste plugin. This plugin needs to be configured properly. have a look here for the documentation.

EDIT: Example to log the pasted content:

    paste_preprocess : function(pl, o) {
        console.log('Object', o);
        console.log('Content:', o.content);
   }

Upvotes: 2

Related Questions