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.
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);
}
One thing that works is if you copy as image in MS Excel and then paste the table as an image.
To Paste Excel data into TinyMCE Editor with formatting,
Please refer: Paste Excel data into TinyMCE with Formatting
Hope this will help you.
精彩评论