Smart Paste #289
Replies: 1 comment
-
Hi FrancoPaez Could you clarify what you mean " is there any way that when pasting Excel tables, only those tables will erase the format?" "allow me to send a notification to the user saying that only tables cannot be copied and pasted" To implement smart notification, you can use the paste_preprocess function to inspect what is being pasted, if the content contains a table, then fire a notification. see the docs https://www.tiny.cloud/docs/plugins/opensource/paste/#paste_preprocess hope that helps :) |
Beta Was this translation helpful? Give feedback.
-
Hi! I am encountering a problem related to pasting of formatted text.
I am testing the editor, and they asked me that it support pasting content from Word, WordOnline, Excel, ExcelOnline and Google Docs, Google Sheets, etc.
The editor responds perfectly, but is there any way that when pasting Excel tables, only those tables will erase the format? and also allow me to send a notification to the user saying that only tables cannot be copied and pasted. I hope you understand my problem
sample text from Google Docs
result
expected output
Beta Was this translation helpful? Give feedback.
All reactions