Closed jonashe closed 11 years ago
Hello! Check if you have that file https://github.com/prbaron/PBCKCode/blob/master/dialogs/PBSyntaxHighlighter.js.
It should be located in pbckcode/dialogs/.
Yes, i have that file in the /dialogs folder: http://kommodore.cwsurf.de/ckeditor/plugins/pbckcode/dialogs/PBSyntaxHighlighter.js
Seems you did not load the plugin in your config.js file.
Add this line :
config.extraPlugins = 'pbckcode';
Hm, that was autobuild, now added that manually and still get same error... If looking at the js, it seems like there is one problem with the syntax highlighting?
Here is a little ressource. Does it work for you ? http://jsfiddle.net/prbaron/Y8TZs/ The important thing is that you have to have the plugin.js file loaded. This file loads the PBSyntaxHighlighter.js and initializes it. Without the plugin.js file you have that error.
It dosen't work, but now the console ist giviing me a new error: Textarea: <textarea class="ckeditor" cols="80" rows="10" name="content" id="editor1" >
Can you add the following line into your config.js file ? { name: 'pbckcode },
Seems that your ckeditor does not load the plugin.js file of pbckcode. That means that PBSyntaxHighlighter.js and ace.js is not loaded and you have that error.
Sorry for late reponse, had to do some stuff for school. But still get some errors:
I have a new idea, it would be very nice, if you can send me a normal ckeditor only with ckcode installed...
You can download and try the examples. Just switch to the gh-pages branch and click on the zip button
Hello, did you try the examples ?
Hm, guessed that I still replyed... Well, your examples are working fine for me, thank you
So, it's me again, I'm sorry :D I downlaoded newest version of pbckcode and an clean editor too, but now I have the problem that my console giving me a new error: