I have succeeded to implement CKEditor in an input textarea of a rails new/edit simple_form_for. It works well. But I have some javascript code which copy an innerHTML somewhere to paste it in the input textarea managed by CKEditor, and this not working. I don't find the right "id" or "class" in this input to use with a querySelector in order to paste my innerHTML. I have already tried with .content-input , #substep_content , .substep_content and .cke_editable, but it doesn't work. Someone can help me, please ?
Here is the form :
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have succeeded to implement CKEditor in an input textarea of a rails new/edit simple_form_for. It works well. But I have some javascript code which copy an innerHTML somewhere to paste it in the input textarea managed by CKEditor, and this not working. I don't find the right "id" or "class" in this input to use with a querySelector in order to paste my innerHTML. I have already tried with .content-input , #substep_content , .substep_content and .cke_editable, but it doesn't work. Someone can help me, please ? Here is the form :
When I open "page source code" :
Here the : Image of inspector / examine the item