Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
496 views
in Plugins by

Whatever I do in config.js does not change configbar for wysiwyg and whatever plugin I try to add is not added to configbar or works at all?

http://ckeditor.com/addon/eqneditor This is the plugin that I am trying to add.

What do I do wrong?

NOTE: I made a progress, It is about a cache problem, If I open it another browser it works okay... Why is it like it? How can I fix it?

 

/**
 * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For complete reference see:
	// http://docs.ckeditor.com/#!/api/CKEDITOR.config	config.extraPlugins = 'eqneditor';	
	// NOTE: if you make changes to this file, make sure that you do not overwrite it when upgrading Q2A!

	// The toolbar arrangement, two rows of buttons
	config.extraPlugins = 'eqneditor';
	
	config.toolbar = [
		{ name: 'basic', items: [ 'Bold', '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', 'EqnEditor' ] }
	];

	// Set the most common block elements
	config.format_tags = 'p;h1;h2;h3;pre';
	config.entities = false;

	// Make dialogs simpler
	config.removeDialogTabs = 'image:advanced;link:advanced;table:advanced';

	// Use native spell checking (note: Ctrl+right-click is required for native context menu)
	config.disableNativeSpellChecker = false;

	// Prevent blank paragraphs
	config.fillEmptyBlocks = false;

};

This is the config file of mine. 

Q2A version: 1.7.2

Please log in or register to answer this question.

...