11
ta2025
Re: Problem with Koivi Editor
  • 2005/2/1 23:49

  • ta2025

  • Just popping in

  • Posts: 28

  • Since: 2005/1/17


That by itself, didn't fix it...

is there another location?

Example....

http://cyphereal.net/forums/modules/newbb/viewtopic.php?topic_id=372&start=0

12
ta2025
Re: Problem with Koivi Editor
  • 2005/2/2 0:10

  • ta2025

  • Just popping in

  • Posts: 28

  • Since: 2005/1/17


I found it!

After some digging, I found you have to replace "\r" also.

so, the entire function looks like...

function XK_removeLineBreaks(text)
{
        
//delete useless n and t
        
text text.replace(/r/g," ");
        
text text.replace(/n/g," ");
        
text text.replace(/t/gi,"");
        return 
text;
};


I added the non-breaking space just to make sure...

13
samuels
Re: Problem with Koivi Editor
  • 2005/2/2 14:04

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


I have released a new version v1.04.1 with this bug fixed.

14
ta2025
Re: Problem with Koivi Editor
  • 2005/2/2 15:12

  • ta2025

  • Just popping in

  • Posts: 28

  • Since: 2005/1/17


I've noticed another small issue.

It might be theme-related, but

...some text ....

generates a large amount of space between paragraphs.

I'm trying to correct for it by converting the initial

into a "" and the trailing

into

(which is what

is in its simplest form).


15
manel
Re: Problem with Koivi Editor
  • 2005/2/2 21:33

  • manel

  • Just popping in

  • Posts: 32

  • Since: 2003/1/26


I have another problem with koivi. I can not use de image mager of xoops. It is impossible to put an image with the manager.

Thanks for you work Samuels

16
samuels
Re: Problem with Koivi Editor
  • 2005/2/2 22:04

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


@ta2025
Space between paragraphs depends on your theme css file.
You can add this to your css file:

p { margin-top: 0.5em; }

to reduce the space between paragraphs

@manel
For using imagemanager you must replace the original system_imagemanager.html template with mine.

A new icon will appear.
See the effect here:
http://www.forjandoleyendas.com/public/testsite/modules/news/submit.php

17
ta2025
Re: Problem with Koivi Editor
  • 2005/2/3 2:43

  • ta2025

  • Just popping in

  • Posts: 28

  • Since: 2005/1/17


You are right, samuels, I could tweak the {P} class in the style.css, but that would affect everything. SOME sites that have embedded

's render with HUGE gaps between paragragh and every subsequent edit, makes the gaps larger and larger.

Login

Who's Online

358 user(s) are online (284 user(s) are browsing Support Forums)


Members: 0


Guests: 358


more...

Donat-O-Meter

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

Latest GitHub Commits