开发者

Paste Excel Table into TinyMCE while Keeping Format

开发者 https://www.devze.com 2023-03-05 16:21 出处:网络
Is开发者_开发技巧 there a TinyMCE plugin that allows to paste a table from MS Excel while also keeping the format of that table?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号