WebmasterSite.net

table in description

Version: 5.0.28
URL:

PrintPrint


table in description
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 392
Total Posts: 1287
quote post #1
Posted 01/04/09 - 10:15 AM:

I seem to remember that a few versions ago I could cut and paste a table into description wysiwyg and it would hold table format.

That no longer works - is there any way I can do this?
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 01/06/09 - 1:28 PM:

It might work if you add WSN codes for the table elements <table> </table> <tr> </tr> <td> </td> <th> </th>. Otherwise, allowing arbitrary HTML is too much of a security risk and leaves messy display problems too.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 392
Total Posts: 1287
quote post #3
Posted 03/29/09 - 3:19 AM:

I really would like to get this working again, but adding <table> to the WSN codes did not work. I can't remember which version of wsnlinks it did work in.

I have enabled full toolbarset for FCKEditor, and in looking around really cannot see why a table will not hold it's format. I have inserted a table using the FCKEditor and everything looks great, but when I submit the table format is lost.

I see that the latest version of FCKEditor is 2.6.4 while the one with WSNLinks is only 2.4.3. I don't know if this has anything to do with the problem. I don't know enough about it or how it works with WSNLinks - is it possible for me to simply upgrade the editor?
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #4
Posted 03/31/09 - 8:57 AM:

I see that the latest version of FCKEditor is 2.6.4 while the one with WSNLinks is only 2.4.3.

Unrelated, but I'll look into how 2.6.4 works. I wouldn't recommend upgrading yourself, because it could the HTML output, which would break the associated formatting for WSN since it wouldn't translate to WSN code properly.

Hopefully I'll have a chance today to look at the table output and see if it's realistic to try to translate into WSN codes.

Edited by Paul on 03/31/09 - 9:01 AM
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #5
Posted 04/01/09 - 12:40 PM:

How did you enable fckeditor's table button? I set $oFCKeditor->ToolbarSet = 'Full'; but it didn't change anything, even though fckconfig.js shows table in the list for full.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 392
Total Posts: 1287
quote post #6
Posted 04/01/09 - 8:31 PM:

hmm, strange because that's all I did and it worked for me.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 392
Total Posts: 1287
quote post #7
Posted 04/08/09 - 9:59 AM:

Hi Paul

Bumping - just wondered if you had managed to get the Full working for you yet? I would really like to be able to use the facilities of the editor. I do need to use table and it would be nice if I could use the other stuff as well, including have an image within a float left div.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #8
Posted 04/09/09 - 11:20 PM:

No, haven't gotten it working.

I'll add a tweak option to leave the editor content as HTML. There's no way all the stuff you want is going to work as translations to WSN codes. The result of using the tweak will be a messy database and more possible exposure to unforeseen security risks.

Edited by Paul on 04/09/09 - 11:22 PM
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 392
Total Posts: 1287
quote post #9
Posted 04/26/09 - 1:04 AM:

Sadly this still doesn't work. As soon as I save it loses the table format.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #10
Posted 04/26/09 - 8:22 AM:

It gives me a table of sorts, but it looks all distorted because of all the newlines being translated to <br />.

I seem to have it working in 5.1 now. Not sure if it'd be wise to backport to 5.0.

Edited by Paul on 04/26/09 - 9:23 AM
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.