Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.

Rainer Schöpf <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
On Mon, 5 Jul 2010 at 20:15 +0530, Sachin wrote:

 > The problem regarding the table and some of the deprecated tags is sorted. I
 > have replace the file and applied the patch given here:
 > 
 > https://issues.apache.org/bugzilla/show_bug.cgi?id=47205

This is interesting. You wrote that you are using lenya 2.0.3. As far as I know 
this patch was applied before 2.0.3.

 > However there are still some attributes like width for table, which when I
 > set to a value, my page gets reset.
 > Is there anything I missed out?

Look at

  https://issues.apache.org/bugzilla/show_bug.cgi?id=47416

and

  https://issues.apache.org/bugzilla/show_bug.cgi?id=46744

for the necessary changes. Again, I believe these are already in 2.0.3.

 > I think it would be better to remove the attributes and options completely
 > from tinyMCE editor.

I agree.  To do that you have to patch a number of files from the tinymce 
distribution, namely

  plugins/table/table.htm
  plugins/table/cell.htm
  plugins/table/row.htm
  themes/advanced/jscripts/image.js
  themes/advanced/image.htm

Since these files are not part of lenya itself, it is not easy to do 
automatically.

 Regards,
   Rainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.