You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sachin <sa...@techblue.co.uk> on 2010/07/05 15:49:31 UTC
TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <rf...@apache.org>.
On 7/5/2010 8:49 AM, 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
You could add the attributes to the schema, which would get rid of your
validation problem. I can't remember if it uses a cleaner or not. You
could take some of the cleaning XSLT items from the FCK module if it
does use a cleaner. If it doesn't you could copy the FCK cleaning code
to make it clean up the source.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Florent André <fl...@4sengines.com>.
On Wed, 07 Jul 2010 11:59:34 GMT, A.Kuckartz@ping.de wrote:
> Richard Frovarp writes:
>
>> We really need to get one good HTML editor to the position where a user
>> can quickly and easily get it up and going.
>
> Such an editor is under development:
>
> Semantic Editor - Aloha Editor
> http://wiki.iks-project.eu/index.php/Semantic_Editor
>
> While no code has been released yet I have seen a demo by the main
authors
> and I think that it has real potential to become *the* browser based
> editor.
Yes sure, I see this presentation too. Really interresting editor. But for
now they don't know witch licence they apply - many discussion on it. As
far as I know the first release of this editor will be in
september/october.
Here one of their presentation :
http://www.slideshare.net/draftkraft/aloha-editor-contenteditable-useable
Editor's UI presentation begin at slide 35.
++
>
> Cheers,
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <Ri...@ndsu.edu>.
On 7/7/2010 2:19 PM, Richard Frovarp wrote:
> On 7/7/2010 2:07 PM, Richard Frovarp wrote:
>> On 7/7/2010 1:59 PM, A.Kuckartz@ping.de wrote:
>>> Richard Frovarp writes:
>>>> We really need to get one good HTML editor to the position where a
>>>> user can quickly and easily get it up and going.
>>>
>>> Such an editor is under development:
>>> Semantic Editor - Aloha Editor
>>> http://wiki.iks-project.eu/index.php/Semantic_Editor
>>> While no code has been released yet I have seen a demo by the main
>>> authors and I think that it has real potential to become *the*
>>> browser based editor.
>>> Cheers,
>>> Andreas
>>
>> Thank you for the suggestion. Florent is also tracking that project.
>> Unfortunately it looks like it is going to be GPL, which means we
>> can't include it directly with Lenya. It would have to be a separate
>> download like TinyMCE or CKEditor.
>>
>> Richard
>
> Although reading more licensing details, GPL v3 should be okay.
Whoops, got that one backwards. GPL v3 stuff can include Apache License,
not the other way around. So it doesn't help us.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <rf...@apache.org>.
On 7/7/2010 2:07 PM, Richard Frovarp wrote:
> On 7/7/2010 1:59 PM, A.Kuckartz@ping.de wrote:
>> Richard Frovarp writes:
>>> We really need to get one good HTML editor to the position where a
>>> user can quickly and easily get it up and going.
>>
>> Such an editor is under development:
>> Semantic Editor - Aloha Editor
>> http://wiki.iks-project.eu/index.php/Semantic_Editor
>> While no code has been released yet I have seen a demo by the main
>> authors and I think that it has real potential to become *the*
>> browser based editor.
>> Cheers,
>> Andreas
>
> Thank you for the suggestion. Florent is also tracking that project.
> Unfortunately it looks like it is going to be GPL, which means we
> can't include it directly with Lenya. It would have to be a separate
> download like TinyMCE or CKEditor.
>
> Richard
Although reading more licensing details, GPL v3 should be okay.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <Ri...@ndsu.edu>.
On 7/7/2010 2:31 PM, A.Kuckartz@ping.de wrote:
> Richard Frovarp writes:
>> Unfortunately it looks like it is going to be GPL
>
> No. That information on the Wiki page is not current.
> Aloha likely will use the same combination of licenses as jQuery: GPL2
> and MIT. Otherwise the IKS project (which includes proprietary
> software vendors) would not be able to use it.
> Cheers,
> Andreas
MIT should work for us.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by A....@ping.de.
Richard Frovarp writes:
> Unfortunately it looks like it is going to be GPL
No. That information on the Wiki page is not current.
Aloha likely will use the same combination of licenses as jQuery: GPL2 and
MIT. Otherwise the IKS project (which includes proprietary software vendors)
would not be able to use it.
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <rf...@apache.org>.
On 7/7/2010 1:59 PM, A.Kuckartz@ping.de wrote:
> Richard Frovarp writes:
>> We really need to get one good HTML editor to the position where a
>> user can quickly and easily get it up and going.
>
> Such an editor is under development:
> Semantic Editor - Aloha Editor
> http://wiki.iks-project.eu/index.php/Semantic_Editor
> While no code has been released yet I have seen a demo by the main
> authors and I think that it has real potential to become *the* browser
> based editor.
> Cheers,
> Andreas
Thank you for the suggestion. Florent is also tracking that project.
Unfortunately it looks like it is going to be GPL, which means we can't
include it directly with Lenya. It would have to be a separate download
like TinyMCE or CKEditor.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by A....@ping.de.
Richard Frovarp writes:
> We really need to get one good HTML editor to the position where a user
> can quickly and easily get it up and going.
Such an editor is under development:
Semantic Editor - Aloha Editor
http://wiki.iks-project.eu/index.php/Semantic_Editor
While no code has been released yet I have seen a demo by the main authors
and I think that it has real potential to become *the* browser based editor.
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <rf...@apache.org>.
On 7/7/2010 12:21 PM, Vik Tara wrote:
>> It certainly could be an externally provided patch
>
> Yeah - this is what I was thinking actually.
>
> Users need the functionality to be easy and simple to install - so for
> ease of use, I would suggest the svn that Florent is hosting is a good
> place for modules that have 'license implications'.
>
> Is this an OK route?
We should be ok with licensing there.
We really need to get one good HTML editor to the position where a user
can quickly and easily get it up and going.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Florent André <fl...@4sengines.com>.
On Wed, 07 Jul 2010 11:21:10 +0100, Vik Tara <vi...@propco.co.uk> wrote:
>> It certainly could be an externally provided patch
>
> Yeah - this is what I was thinking actually.
>
> Users need the functionality to be easy and simple to install - so for
> ease of use, I would suggest the svn that Florent is hosting is a good
> place for modules that have 'license implications'.
yep,
For add your plugin into this svn, follow this
http://svn.4sengines.eu/how_create_account.html and put a description into
this page for communication : http://wiki.apache.org/lenya/ModulesIdeas
++
>
> Is this an OK route?
>
>
> Vik
>
> On 07/07/2010 10:14 AM, Richard Frovarp wrote:
>> On 7/5/2010 8:15 PM, Vik Tara wrote:
>>>>
>>>> Since these files are not part of lenya itself, it is not easy to do
>>>> automatically.
>>> Sac - we could really do with a lenya module that handles all of this
;)
>>>
>>> Regards
>>>
>>>
>>> Vik
>>
>> I don't think we can provide patches. To create a patch you need to use
>> part of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF
>> projects. It certainly could be an externally provided patch, but I
>> don't think it can be on ASF infrastructure.
>>
>> Richard
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Vik Tara <vi...@propco.co.uk>.
> It certainly could be an externally provided patch
Yeah - this is what I was thinking actually.
Users need the functionality to be easy and simple to install - so for
ease of use, I would suggest the svn that Florent is hosting is a good
place for modules that have 'license implications'.
Is this an OK route?
Vik
On 07/07/2010 10:14 AM, Richard Frovarp wrote:
> On 7/5/2010 8:15 PM, Vik Tara wrote:
>>>
>>> Since these files are not part of lenya itself, it is not easy to do
>>> automatically.
>> Sac - we could really do with a lenya module that handles all of this ;)
>>
>> Regards
>>
>>
>> Vik
>
> I don't think we can provide patches. To create a patch you need to use
> part of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF
> projects. It certainly could be an externally provided patch, but I
> don't think it can be on ASF infrastructure.
>
> Richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in
tinyMCE.
Posted by Rainer Schöpf <ra...@gmx.net>.
Hi all,
as I have just discovered, there is a way to modify the TinyMCE dialogs without
patching the source code, with only CSS.
See
https://issues.apache.org/bugzilla/show_bug.cgi?id=49580
for a patch.
This patch needs to be tested on different browsers.
Rainer Sch�pf
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <Ri...@ndsu.edu>.
On 7/8/2010 10:10 AM, Rainer Schöpf wrote:
> On Wed, 7 Jul 2010, Richard Frovarp wrote:
>
> > On 7/5/2010 8:15 PM, Vik Tara wrote:
> > > >
> > > > Since these files are not part of lenya itself, it is not easy to do
> > > > automatically.
> > > Sac - we could really do with a lenya module that handles all of this ;)
> > >
> > > Regards
> > >
> > >
> > > Vik
> >
> > I don't think we can provide patches. To create a patch you need to use part
> > of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF projects.
> > It certainly could be an externally provided patch, but I don't think it can
> > be on ASF infrastructure.
>
> Just to be sure: Can I put patches for the TinyMCE files on the Leyna Wiki?
>
> Rainer
>
I would probably say not. Maybe others have different interpretation of
the rules?
They could be posted at a 3rd party location, and then linked to on
either the wiki or website. Something like Florent's svn tree or even
Google Code (if they allow LGPL projects).
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in
tinyMCE.
Posted by Rainer Schöpf <ra...@gmx.net>.
On Wed, 7 Jul 2010, Richard Frovarp wrote:
> On 7/5/2010 8:15 PM, Vik Tara wrote:
> > >
> > > Since these files are not part of lenya itself, it is not easy to do
> > > automatically.
> > Sac - we could really do with a lenya module that handles all of this ;)
> >
> > Regards
> >
> >
> > Vik
>
> I don't think we can provide patches. To create a patch you need to use part
> of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF projects.
> It certainly could be an externally provided patch, but I don't think it can
> be on ASF infrastructure.
Just to be sure: Can I put patches for the TinyMCE files on the Leyna Wiki?
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in
tinyMCE.
Posted by Rainer Schöpf <ra...@gmx.net>.
On Wed, 7 Jul 2010, Richard Frovarp wrote:
> On 7/5/2010 8:15 PM, Vik Tara wrote:
> > >
> > > Since these files are not part of lenya itself, it is not easy to do
> > > automatically.
> > Sac - we could really do with a lenya module that handles all of this ;)
> >
> > Regards
> >
> >
> > Vik
>
> I don't think we can provide patches. To create a patch you need to use part
> of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF projects.
> It certainly could be an externally provided patch, but I don't think it can
> be on ASF infrastructure.
We could provide the patch, with explicit instructions how to apply when TinyMCE
is installed. Not an easily usable solution.
There may be a way around this. The HTML dialogs are part of the TinyMCE
"advanced" theme. Adding another theme as part of the ASF infrastructure should
be possible. However, if I understand the LGPL correctly, this new theme must
not be derived from the supplied "advanced" theme. Or would this be possible?
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Richard Frovarp <rf...@apache.org>.
On 7/5/2010 8:15 PM, Vik Tara wrote:
>>
>> Since these files are not part of lenya itself, it is not easy to do
>> automatically.
> Sac - we could really do with a lenya module that handles all of this ;)
>
> Regards
>
>
> Vik
I don't think we can provide patches. To create a patch you need to use
part of the source code, and TinyMCE is LGPL. LGPL is forbidden in ASF
projects. It certainly could be an externally provided patch, but I
don't think it can be on ASF infrastructure.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Vik Tara <vi...@propco.co.uk>.
>
> Since these files are not part of lenya itself, it is not easy to do
> automatically.
>
Sac - we could really do with a lenya module that handles all of this ;)
Regards
Vik
On 07/05/2010 06:29 PM, Rainer Schöpf wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in
tinyMCE.
Posted by Rainer Schöpf <ra...@gmx.net>.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TinyMCE vs W3C standards. Tables not working at all in tinyMCE.
Posted by Sachin <sa...@techblue.co.uk>.
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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org