close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

<p></p> automatic

Thread began 10/05/2010 10:08 am by gazerad204822 | Last modified 6/07/2011 11:46 am by gazerad204822 | 2107 views | 10 replies


Originally Said By: Ray Borduin
  You can update the associated .js file in html_editor/custom/ and change the enter mode from:

FCKConfig.EnterMode = 'p;


FCKConfig.EnterMode = 'br';
FCKConfig.ShiftEnterMode = 'p';

The editor will automatically add tags when the enter mode is p or div. You could also try changing it to "div" and it will add a div tag instead of a p tag and that might work better for you.  

Just to tune in:
First: The html_editor/custom/ directory does not exist in PowerCMS. I think it is named HTMLEditor/custom/.
Second: There are only two .js files in that /custom/ folder. That is
1: contents_insert_ContentValue1.js
2: contents_update_ContentValue1.js
Further: Both of these files has the code-piece> FCKConfig.EnterMode = 'p'; at line 35. None of them has the code-piece> FCKConfig.ShiftEnterMode = 'p';
Changing just FCKConfig.EnterMode = 'p; to FCKConfig.EnterMode = 'br'; will not make the editor switch mode at all. It keeps putting its <p></p> like before and does not seam to have any effekt on the HTMLEditor at all. To get the <br> I have to use SHIFT-Return. I wish it was the other way around.

By the way, I've noticed that one level up there is a file named fckconfig.js. THIS file has both of the code-pieces described above. But if you switch them as adviced, the HTMLEditor starts putting <p></p> on both Return and SHIFT-Return.
Do I have a monday-version of PowerCMS or am I looking in the wrong directories, or is this Browser-dependent maybe? I use Safari - and Firefox - all the same.

Can anyone knock this problem to the floor?

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





Ease of use


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...