Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 06:36:33 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155442 Posts in 21702 Topics by 7733 Members
Latest Member: DarrellDD
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: wysiwig edit module  (Read 523 times)
toggle

Offline Offline

Posts: 6


« on: September 26, 2008, 07:06:52 AM »

wysiwig edit is a great module but no one seems to have posted about it since December last year when "Rudd" posted concerning...

" When I use the frontend to edit a page with special characters (like á) it gets messed up when modifying the page. (those characters, including a  , are translated in a small square)
Using the backend everything goes fine. "

This is happening to me me when ever hit enter. It seems to places the carriage return thus... <p>�</p>
Any help anyone?

Cheers
Toggle
Logged
Luckyluke

Offline Offline

Posts: 555



« Reply #1 on: September 26, 2008, 08:17:04 AM »

Hi,

Do you mean FCKEditor?
Well, I've got also some problems with this editor. After every line, FCKEditor puts a <p> tag between the lines. I hate that!
I haven't find a solution but the <p> stuff goes better with the folowing adaption:

Open the file wb_fckconfig.js in <wb map>modules/fckeditor/wb_config.
Change the following lines from:

Code:
// specify HTML tag used for ENTER and SHIFT+ENTER key
   FCKConfig.EnterMode = 'p' ;         // allowed tags: p | div | br
   FCKConfig.ShiftEnterMode = 'br' ;     // allowed tags: p | div | br

to

Code:
// specify HTML tag used for ENTER and SHIFT+ENTER key
   FCKConfig.EnterMode = 'br' ;     // allowed tags: p | div | br
   FCKConfig.ShiftEnterMode = 'p' ;     // allowed tags: p | div | br

Hitting Enter and Shift+Enter now act different and the <p> tags are gone.

Grtz,
Luc
Logged
toggle

Offline Offline

Posts: 6


« Reply #2 on: September 29, 2008, 11:20:37 PM »


Hi Luc,
Its actually one of the unapproved modules that allows you to edit direct from the front end using fckeditor. Absolutley magic.
The problem was solved by Ruud. If anyone else has this problem use the ISO-8859-1 encoding instead of the default UTF-8 which is able to be changed from the settings tab.


Hi,

Do you mean FCKEditor?
Well, I've got also some problems with this editor. After every line, FCKEditor puts a <p> tag between the lines. I hate that!
I haven't find a solution but the <p> stuff goes better with the folowing adaption:

Open the file wb_fckconfig.js in <wb map>modules/fckeditor/wb_config.
Change the following lines from:

Code:
// specify HTML tag used for ENTER and SHIFT+ENTER key
   FCKConfig.EnterMode = 'p' ;         // allowed tags: p | div | br
   FCKConfig.ShiftEnterMode = 'br' ;     // allowed tags: p | div | br

to

Code:
// specify HTML tag used for ENTER and SHIFT+ENTER key
   FCKConfig.EnterMode = 'br' ;     // allowed tags: p | div | br
   FCKConfig.ShiftEnterMode = 'p' ;     // allowed tags: p | div | br

Hitting Enter and Shift+Enter now act different and the <p> tags are gone.

Grtz,
Luc

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!