Get rid of default <p> tags???
Hello,
How can we get rid of the Paragraph tags being forced in the latest HTML Editor?
https://stackoverflow.com/questions/1977791/turn-off-enclosing-p-tags-in-ckeditor-3-0
config.js has been changed to :
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.config.autoParagraph = false;
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
// config.enterMode = CKEDITOR.ENTER_P;
config.enterMode = CKEDITOR.ENTER_BR;
config.allowedContent = true;
};
But still the auto P is forced disregarding this directive:
CKEDITOR.config.autoParagraph = false;