💬 General

Add ckeditor in textarea

👤 Murdock
Q
Question
Hi,

I am looking to add the ckeditor in a textfield in a custom module.
Is there someone that can help on a how-to for this?

Rgrds,
HM
A
Community Solution
✓ Answered
You need use the code like this

<script src="libraries/jquery/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if(CKEDITOR)
{
// Replace the <textarea name = "content"> with a CKEditor instance.
CKEDITOR.replace('content');
}
});
</script>

If you are not familiar with JavaScript code then you can use/buy one of extension like https://it-solutions4you.com/Vtiger CRM-extensions/descriptions4you/
← Back to General Join to answer →