Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 23

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 Bugs

 
 
LinkBack Thread Tools Display Modes
Old 19.04.2004, 00:04   #1 (permalink)
Junior Mamber
 
mcpat's Avatar
 
Join Date: Apr 2004
Posts: 27
mcpat is on a distinguished road
Default maintext cannot be deleted in any wysiwyg editor...

I create new news or "normal text" pages on my homepage with any wysiwyg editor (htmlarea2,3 and wysiwygpro) and write something in the maintext and saving the new page.
Then I edit the page and delete the text in the maintext and save, the maintext isn't empty.
When I edit it again, and view in "html-code" I can see
Code:
<p>&nbsp;</p>
. I delete this string and save again. Now the maintext is clear.

I saw this error on every version of mambo...

So how can I solve this problem. Because I can't find the error in any php file...

thx pat
mcpat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 19.04.2004, 01:15   #2 (permalink)
Baby Mamber
 
coox's Avatar
 
Join Date: Apr 2004
Posts: 6
coox is on a distinguished road
Default Re: maintext cannot be deleted in any wysiwyg editor...

I found this in wysiwygpro and fixed the problem that way!
File: editor/editor_class.php
Line: 32
From: var $code='<p>&nbsp;</p>';
To: var $code='';
coox is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 02:07   #3 (permalink)
Junior Mamber
 
mcpat's Avatar
 
Join Date: Apr 2004
Posts: 27
mcpat is on a distinguished road
Default Re: maintext cannot be deleted in any wysiwyg editor...

Quote:
Originally Posted by coox
I found this in wysiwygpro and fixed the problem that way!
File: editor/editor_class.php
Line: 32
From: var $code='<p>&nbsp;</p>';
To: var $code='';
thank you, when I open a file then the code isn't here after changing line 32. so thx for help!!!!


but when i write something, delete it again (before I save it in mambo) then this code is already here....
mcpat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor links dont show up StarChaser Development Discussions 6 15.04.2004 03:00
Wysiwyg Editor -> paragraph spacing reemas Mambo 4.5 'How Do I' Questions 3 09.04.2004 20:07


All times are GMT +2. The time now is 17:59.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.