I am trying to paste the same html if i copied from editor as well if i copied from outside editor or any other page which can be with any style while pasting into editor it comes with simple plain text.
But if i copied from my editor whatever element it has with any style like bold, bullet, link , it should be retain with same on pasting it.
For simple plain text : config.forcePasteAsPlainText = true;
for html it need to be disable mean false.
But i need both things on the condition if i copy from editor and if i copy from outside editor ...
I need a solution to give this condition on which i can write two different code as per requirement .
Please suggest the logic.
thanks