TinyMCE bug in Event Calendar (Forecolor and Backcolor)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/30/2009 9:12:02 AM
Gravatar
Total Posts 9

TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Hi guys,

I'm working very fine with latest mojoportal release 2.3.2.4 MSSQL (buid 2009/10/29), but I've a big problem with features Forecolor and Backcolor of TinyMCE only in Event Calendar module (0.0.0.3).

When I changed the color, in non editor area, I get a big error about the format and I can't understand the solution way.

This is my custom configuration in CustomTinyMCE.config file:

FullToolbarPlugins="style,media,paste,print,searchreplace,fullscreen,emotions,directionality,table,contextmenu,advimage,inlinepopups,spellchecker,wordcount,safari"

FullToolbarRow1Buttons="code,separator,fullscreen,separator,selectall,removeformat,cleanup,cut,copy,separator,paste,pastetext,pasteword,separator,print,separator,undo,redo,separator,search,replace"

FullToolbarRow2Buttons="forecolor,backcolor,separator,blockquote,bold,italic,underline,strikethrough,separator,sub,sup,separator,bullist,numlist,separator,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,formatselect,fontselect,fontsizeselect"

FullToolbarRow3Buttons="tablecontrols,separator,link,unlink,anchor,image,media,table,hr,emotions,charmap,iespell,spellchecker,separator,cleanup"

 

And added in User.config this tag:

<add key="TinyMCE:IncludeHardCodedStyleTools" value="true" />

 

Please, Can someone help me?

 Thanks,

Sami

10/30/2009 1:48:45 PM
Gravatar
Total Posts 18439

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Hi,

That web.config setting is no longer used it was a temporary solution until the config file was implemented.

You should copy the contents of the latest mojoTinyMCE.config into your CustomTinyMCE.config file and then modify it.

You will see I have added a new toolbar for the Newsletter and this toolbar uses the forecolor and backcolor toolbar items so you can copy some settings from it to the other toolbars where you want to use it.

Note that it requires not only the correct toolbar items but also the correct plugins for those toolbar items, look at the NewsletterToolbar settings as it has the correct ones.

Hope it helps,

Joe

11/5/2009 11:09:48 AM
Gravatar
Total Posts 9

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Hi Joe,
Many thanks for advice.
The new tools are very cool, but unfortunately the problem persists.
I'll try to be more precise:
When I write the content using the TinyMCE editor, color and all the appearances are perfects. I save the event and when I open it I see the HTML code with the following error (translated from Italian):
"Sorry but there is a problem with this content.
Sometimes this error is caused by content pasted from web pages without using the toolbar editor, paste as text. Presumably the author of this content or the site administrator will intervene as soon as possible to make the necessary corrections.

The "style" attribute hasn't a value for the type of data.:
<div dir="ltr"> <span style="color: #e96e15;"> Description test </ span> </ div> ".

In this example, I haven't pasted anything, I just wrote a text and changed the forecolor.

I think the problem is really in the Event Calendar module and not in the editor.


Thanks,
Sami

11/5/2009 12:34:19 PM
Gravatar
Total Posts 18439

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Hi Sami,

I see the problem and will fix this for the coming release.

Best,

Joe

11/6/2009 6:15:25 AM
Gravatar
Total Posts 9

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Many Thanks Joe...

I know, you are the best one.

 

Bye Bye,

Sami

11/6/2009 6:29:41 AM
Gravatar
Total Posts 18439

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Hi Sami,

fyi, I put up an interim build yesterday that has this fixed mojoportal-mssql-build-2009-11-05.zip on our Novell Forge download page.

Best,

Joe

11/6/2009 9:25:11 AM
Gravatar
Total Posts 9

Re: TinyMCE bug in Event Calendar (Forecolor and Backcolor)

Many many Thanks joe.

Now it work very fine...

Compliments for your fast intervent.

Bye Bye,

Sami

You must sign in to post in the forums. This thread is closed to new posts.