botandrose / refinerycms-ckeditor

Replaces WYMEditor with CKEditor in Refinery CMS. Also adds drag and drop sidebars for Images and Files.
https://github.com/botandrose/refinerycms-ckeditor
MIT License
17 stars 20 forks source link

about adding plugin #10

Closed purpletianjing closed 7 years ago

purpletianjing commented 7 years ago

Hi botandrose, I try to add a plugin to this project, and I did it as CKEditor website guides. But it didn't display in the web page after I created it and added it to config.js like this: CKEDITOR.editorConfig = function( config ) { CKEDITOR.replace( 'editor1', { extraPlugins : 'timestamp', toolbar : [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'Timestamp' ] ] }); };

I don't know where is wrong~

botandrose commented 7 years ago

Hello. The problem you're having looks like it has nothing to do with this particular project. I suggest asking for help from the maintainer of the timestamp plugin that you're trying to add. Good luck!

purpletianjing commented 7 years ago

Thank you! I solve it by myself! It's different from single CKEditor, so I need to add it to ckeditor.js.