I wonder if I can use z text editor on a script (a site) that I sell on Envato

I wonder if I can use Ckeditor or TinyMCE in a script i will sell in codecanyon.

I’m pretty sure you need special paid for licenses from both of those to use them in commercial products

Can you suggest a text editor ? i will check the other scripts what they uses but if you have any suggestion, please let me hear it.

I found a script that use ckeditor in codcanyon, does this mean that i can use it ?