I've been configuring the editor for days now and I finally have things close to how I need them .... BUT .... I can't figure out how to create Multiple Inline Editor Instances (created by code) on a page ....
Below is the most basic of examples that I could think to test this and I STILL can't get it working :(
Please help me!! I'm losing my mind!!
<!DOCTYPE html> <html> <head> <title>I CANT GET IT WORKING! UGH!</title> <meta charset="utf-8"> <script src="../ckeditor.js"></script> </head> <body> <div id="editable" contenteditable="true"> <p><b>Editor Number One</b></p> </div> <script> // We need to turn off the automatic editor creation first. CKEDITOR.disableAutoInline = true; var editor = CKEDITOR.inline( 'editable' ); </script> <br /><br /> <br /><br /> <div id="editable2" contenteditable="true"> <p><b>Editor Number Two</b></p> </div> <script> // We need to turn off the automatic editor creation first. CKEDITOR.disableAutoInline = true; var editor2 = CKEDITOR.inline( 'editable2' ); </script> </body> </html>
Seems to work OK for me when
Seems to work OK for me when I edit the path to ckeditor.
Are you sure about your path to ckeditor?
I obtain the same result when removing the scripts, so I never understood what difference it makes with "by code".