Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Sachin <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All 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 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? I think it would be better to remove the attributes and options completely from tinyMCE editor. Regards Sachin On Monday 05 July 2010 07:19 PM, Sachin wrote: > Hi All > > I am using Lenya 2.0.3 and tinyMCE editor to edit my pages. However > tinyMCE editor is showing all the attributes that are depricated > according to w3c recommendations for xhtml. > So whenever I try to save my page with having some deprecated > attribute, all the changes which I have made to the page get lost. > > Is there any way I can correct this? I tried integrating tinyMCE > version 3 but it did not worked with lenya 2.0 for me. > > Tables is tinyMCE are not working at all. The error in the logs is: > > 2010-07-05 19:05:47,953 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "align" not allowed at this point; > ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "border" not allowed at this point; > ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "cellpadding" not allowed at this > point; ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "cellspacing" not allowed at this > point; ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "dir" not allowed at this point; > ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "height" not allowed at this point; > ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, attribute "width" not allowed at this point; > ignored, -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, unknown element "tbody" from namespace > "http://www.w3.org/1999/xhtml", -1, -1 > 2010-07-05 19:05:47,954 [SocketListener0-4] ERROR lenya.publication - > usecase.validationError, unfinished element, -1, -1 > > Please suggest. > > Regards > Sachin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >