CLEditor_custom is a project mainly written in JavaScript, it's free.
CLEditor's Plugin for copy&paste