1
chemoul
koivi editor no line breaks
  • 2004/11/22 22:22

  • chemoul

  • Just popping in

  • Posts: 20

  • Since: 2004/11/16


Hi,

I've installed the koivi editor class and integrated it in the News module.
The editor works fine, but as soon as I try to edit a previously published article, all the line breaks are gone in the text. I am aware that this seems to be a general problem with wysiwyg editors and the way XOOPS handles text, but I haven't managed to find an answer on how to fix this. I looked at the Spaw documentation where they suggest to make some changes to the file xoopsstory.php, but I don't know whether that will work for the Koivi editor as well. Also, I'm afraid that changes to xoopsstory.php would affect all text areas in XOOPS which could lead to problems since I installed Koivi only for the news module.

Any advice would be appreciated.


Thanks.

Chemoul

2
samuels
Re: koivi editor no line breaks
  • 2004/11/22 23:21

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


It's a problem with textsaniticer.
While we made changes on this class you can solve the problem with news, editing the following file:

Open modules\news\submit.php

Go to line 104:
$title $story->title("Edit");
        
$hometext $story->hometext("Edit");
        
$bodytext $story->bodytext("Edit");


And change by:
$title $story->title("Show");
        
$hometext $story->hometext("Show");
        
$bodytext $story->bodytext("Show");


With this you edit the real HTML.

3
chemoul
Re: koivi editor no line breaks
  • 2004/11/23 0:44

  • chemoul

  • Just popping in

  • Posts: 20

  • Since: 2004/11/16


prompt reply that solved the problem

much appreciated

Login

Who's Online

84 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 84


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits