Hi
I just intalled CKeditor as a Wordpres plugin, after lot of research I found the issue with it using <p> tags and several sites stated to change this to <br/> tags to edit the config.js file (inside the plugins>ckeditor-for-wordpress/ckeditor folder) and add the following:
config.autoParagraph = false;
config.enterMode = CKEDITOR.ENTER_BR;
I added that but it made no difference it is still adding <p> tags when I hit enter.
This is how my config.js file stands:
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.autoParagraph = false;
config.enterMode = CKEDITOR.ENTER_BR;
};
I am creating the site for a client and want to find a fix before handing over the site.
Please can you advise?
Thanks in advance
D
Plugin
Did you add the Enter Key plugin?
http://ckeditor.com/addon/enterkey
And you need to add this to the config.js
Hi
Hi
I hadn't but I downloaded the zip file and did it stated and uploaded it manually to wp-content/plugins/ckeditor-for-wordpress/ckeditor/plugins then added the line you mentioned to the config.js file but when I go back and edit a page it is still using the <p> tags.
Did I mis something? was i meant to change anything in the plugin.js file?
Thanks
D
Refresh browser
Perhaps you need to refresh the cache CTRL+F5
Try another browser...
I actually refreshed by cache
I actually refreshed by cache before posting, I was previously using FF, I just tried IE and it is still the same:
<p>
Hello
</p>
<p>
Hello
</p>
<p>
<code> </code>
</p>
<p>
</p>
I just intalled CKeditor as a
What issue is that?
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+