Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
5.3k views
in Plugins by

YOu either have installed the entire qa1.7.1  ( or have simply replaced your wysiwyg plugin with the one from the dev version as of  today Feb 13- 2015) 

steps to add new ckEditor plguin:

1- Suppose the plug-in name is "ckEditorPlugin"(so simply place it to ckEditor\plugin\ckEditorPlugin)
2- (pay attention ) most probabely the button name is also ckEditorPlugin(might be different though)
 
 in config.js:
3- // add these two
       config.extraAllowedContent= 'img[!src,alt,width,height]';// not always needed
      config.extraPlugins= 'ckEditorPlugin';
 
 
// and place the button name somethere among other buttons
    config.toolbar = [
        { name: 'basic', items: [ 'ckEditorPlugin', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript' ] },
        { name: 'color', items: [ 'TextColor', 'BGColor' ] },
        { name: 'align', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
        { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
        '/',
        { name: 'font', items: [ 'Font', 'FontSize', 'Format' ] },
        { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
        { name: 'links', items: [ 'Link', 'Unlink' ] },
        { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar', 'Smiley' ] },
        { name: 'last', items: [ 'RemoveFormat', 'Maximize' ] }
    ];

The onse high lighted in yellow are always needed for new plugins (with button)

Q2A version: qa 1.7+
by
Well, you can get the  button name from the person who developed the plugin for you or from the manual or something. I have some programming background and thus can extract the button name  from the source code. you need to learn a bit of javascript and look int the code
by
Now I see we are talking about different things. I have not installed any additional plugin. I have only the official WYSIWYG Editor plugin that comes with Q2A Core.

Since the WYSIWYG Editor is listed as a plug in, I've asked my question (http://www.question2answer.org/qa/43723/ckeditor-no-buttons) in the plugins section. Maybe it's my fault.
by
oh! goto Admin>Posting>Default editor for questions:  and select wysiwyg editor
by
Thanks, wysiwyg editor is already selected. The issue is with the stock wysiwyg editor

Please log in or register to answer this question.

...