Hej
Jamen jeg har lykkedes at lave en ekstra knap i editoren, ved at lave nedenstående plugin.
MEn jeg har brug for hjælp med at lave en plugin, som laver en knap, som tænder/slukker for paste filteret.
// Register the plugin with the editor.
// 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.plugins.htmlCKEDITOR.plugins.add( 'buybutton',
{
    // The plugin initialization logic goes inside this method.
    // 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.pluginDefinition.html#init    init: function( editor )
    {
        // Define an editor command that inserts a buybutton. 
        // 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#addCommand        editor.addCommand( 'insertBuybutton',
            {
                // Define a function that will be fired when the command is executed.
                // 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.commandDefinition.html#exec                exec : function( editor )
                {    
                    var buybutton = new Date();
                    // Insert the buybutton into the document.
                    // 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#insertHtml                    editor.insertHtml( 'BUY_ME_BUTTON' );
                }
            });
        // Create a toolbar button that executes the plugin command. 
        // 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.ui.html#addButton        editor.ui.addButton( 'Buybutton',
        {
            // Toolbar button tooltip.
            label: 'Insert Buybutton',
            // Reference to the plugin command name.
            command: 'insertBuybutton',
            // Button's icon file path.
            icon: this.path + 'images/buybutton.png'
        } );
    }
} );