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.
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?
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.
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.
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.
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.
Comments on table in description
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
hmm, strange because that's all I did and it worked for me.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Sadly this still doesn't work. As soon as I save it loses the table format.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.