2

I am trying to implement a timestamp example plugin given in the www.ckeditor.com. But this button is not showing up in my toolbar even though I followed all the steps given in their website such plugin name same as folder name,right place for plugin.js and image.And I added CKEditor.confi.extraplugins in config.js file and added name in toolbar in config.js.And in jsp page my code is

<script language="JavaScript" src="/ckeditor/ckeditor_source.js"></script>

window.onload = function(){                             
CKEDITOR.replace( 'editor1',
{                               
fullPage : true,
extraPlugins :'docprops',
extraPlugins : 'timestamp',
toolbar : 'LISToobar' 
    });                                                         
    };

But some how timestamp button is not showing up in my toolbar.Please help me

1 Answer 1

5

You can't define extraPlugins twice, you must add the plugins separated by commas:

<script type="text/javascript" src="/ckeditor/ckeditor_source.js"></script>
<script type="text/javascript">
window.onload = function(){                             
CKEDITOR.replace( 'editor1',
{                               
fullPage : true,
extraPlugins :'docprops,timestamp',
toolbar : 'LISToobar' 
    });                                                         
};
</script>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.