Editor


On page

Spoiler example:

 
Click me

 

Description

Plugin add spoiler to CKEditor. Testing on CKEditor 4.3.3.

Install

  • Copy the plugin into the
    plugins
    folder of your CKEditor installation:
    http://example.com/ckeditor/plugins/spoiler
  • Enable the plugin by using the
    extraPlugins
    configuration setting:
    config.extraPlugins = 'spoiler';
  • Include javascript and css files in html:
    <link rel="stylesheet" href="/css/spoiler.css">
    <script src="/js/spoiler.js"></script>
  • Enjoy

Dependencies

  • JQuery