close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paragraph tags added instead BR

Thread began 11/18/2015 5:44 am by russell298997 | Last modified 2/22/2016 1:06 pm by Ray Borduin | 979 views | 7 replies |

russell298997

paragraph tags added instead BR

Ive read all the threads here and am still getting the same problem and client is going mad!
I've tried changing every instance of
$CKEditor_config = array();
with
$CKEditor_config = array();$CKEditor_config["EnterMode"] = "CKEDITOR.ENTER_BR";
and i looked in the config.js page but that had nothing in it. i tried adding a line that was recommended but still I get paragraph tags

example page attached is tbl_copy_update.php

please help!!!

cheers

Attached Files
stylesheets.zip
Sign in to reply to this post

Ray BorduinWebAssist

Update the file:

/webassist/ckeditor/config.js

add this line into the the ediorConfig function you will find there:

config.enterMode = CKEDITOR.ENTER_BR;

you can add it at line 10

Sign in to reply to this post

russell298997

tried this

updated the config.js file to:

/**
* @license Copyright (c) 2003-2014, 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.entermode = CKEDITOR.ENTER_BR};

is that correct - cos nothing appears to change with the CMS pages...?

Sign in to reply to this post

Ray BorduinWebAssist

Hmmm. Not sure why that doesn't work, but instead you can add it to the htmleditor php code on the page itself.


$CKEditor_config["enterMode"] = 2;

you will see other lines that start with:

$CKEditor_config

just add it into the mix with the others and it should take effect.

Sign in to reply to this post

russell298997

Another ckeditor quirk

Also having problems that i dont want the input text wrapped in a <p> tag but it defaults to doing so. is there a way to tell it not to?

Sign in to reply to this post

Ray BorduinWebAssist

I don't think it does that in the most recent version... Try downloading and installing the latest version of DataBridge from our site. Then delete the webassist/ckeditor folder so that it gets recreated by adding an htmleditor field to a blank page and upload the newest code.

Sign in to reply to this post

John

I have about five htmleditors on a page. Can I set one of them only to use paragraph tags? I assume I would have to do that in the PHP on the page. I see from above that $CKEditor_config["enterMode"] = 2; is for <br>. What is it for <p>? 1?

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Yes. I believe that is correct.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...