I am thinking about adding a Wysiwyg to my own cms written in php, is this easy enough to do? Which one is best to use?

Any help would be grateful.