Skip to content Skip to sidebar Skip to footer

Can't Access Text From Ckeditor

I have this text area HTML JS CKEDITOR.replace( 'description' ); CKEDITOR.config.contentsCss = [CKEDITOR.get

Solution 1:

To receive events and access the updated content of the textarea you must use the CKEDITOR object like this :

CKEDITOR.instances.description.on('change', function() { 
    console.log(CKEDITOR.instances.description.getData());
});

Post a Comment for "Can't Access Text From Ckeditor"