Kindeditor official documentation is used when using Kindeditor:
Kindeditor.ready (function (K)) { k.create (' #editor_id ');}
Use the ready that you provided to create a rich text box after the DOM is loaded. In general, there will be no problem, I am also available in the dome. Today formally put the code until the project, the same moth appeared, rich text box does not appear. It took one hours to locate the problem to ready. The problem is that the code I call Kindeditor is introduced using Requirejs, The DOM structure is already complete when executing the Kindeditor.ready code, and the dynamically inserted script code does not trigger the Domcontentloaded event again, so the Kindeditor.ready registered callback will never be executed and the rich text box will certainly not appear. The solution is simple, do not use Kinkeditor.ready, direct kindeditor.create (). Just fine:
Kindeditor.create (' #editor_id ');
Kindeditor when used with Requirejs, ready fails