Hello McDauly,
Yes. You need to import these solution in cloud as well. Since, it is a 3rd party solution and would not be present by default in CRM online, and your entities/components at onpremise version would have the dependency to ckeditor which will give missing components error while migration, if not installed.
Either you have to remove the ckeditor from on premise version before migration or you need to have it on cloud as well.
Hope this answer solves your query. If yes, please mark the answer as verified.
Thanks & Regards,
CRM Developer