Text Editor

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
4/7/2010 8:26:01 AM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Text Editor

After upgrading to ver 2.3.4.1 I am unable to get the TinyMCE editor to work, I have no access in any browsers the "Paste to Plain Text" editor and the "Paste to Word" over writes any h1 h2 h3 headers setting I have to use html code to correct any text which means I may as well just edit in code.

I have reloaded the full version twice with no change, any help or suggestions would be appreciated.

I am using Win7 , MSSQL with ver 2.3.4.1

Thanks

Len

4/7/2010 9:46:18 AM
Gravatar
Total Posts 18439

Re: Text Editor

Hi Len,

I see what you mean, the paste functionality seems pretty broken in the latest version 3.3.2 of TinyMCE. If you upgraded from a previous version of mojoPortal then you should still have the older version 3.2.7 of TinyMCE on disk and you can change to use that version by changing:

<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce332/" />

to

<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce327/" />

If this is a new installation and you don't have the previous TinyMCE on disk, you can download mojoPortal version 2.3.3.9 from Codeplex and copy the /ClientScript/tiny_mce327 folder into your current installation.

Hope it helps,

Joe

4/7/2010 11:26:57 AM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: Text Editor

Hi Joe,

Thanks for the prompt response, luckily the /tiny_mce327 folder was not removed/overwritten on upgrade so the change in the web.config was only necessary and all working fine now.

This leaves me with another question, after doing an upgrade how can I find folders that have been removed without going through each one?

Cheers

Len 

4/7/2010 11:34:55 AM
Gravatar
Total Posts 18439

Re: Text Editor

Hi Len,

The short answer is you can't, it could only be done by manual inspection. It does not happen very often that we remove files like .aspx or .ascx, but it is fairly common under the /ClientScript folder that we will get new versions of editors and we don't delete any files during upgrades.

Best,

Joe

7/5/2010 6:01:06 AM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: Text Editor

Hi Joe,

Updated to latest version 2.3.4.5 this weekend and notices that the TinyMCE 337 editor does not work when using the paste as plain text. Checked using the mojoPortal Demo site and is it also not work there.

Cheers

Len

7/5/2010 6:15:35 AM
Gravatar
Total Posts 18439

Re: Text Editor

Hi Len,

That is strange, there was a bug in TinyMCE paste as text when using Chrome that made me previously revert to 3.2.7, if those files are still on disk you can switch back to it from config. However, version 3.3.7 actually fixed it which is why I upgraded to 3.3.7. I guess it is possible that browser updates have broken it again.

Please indicate what browser(s) you are having this issue with?

They recently released TinyMCE 3.3.8, maybe that will fix it, I will see about upgrading.

My favorite editor at the moment is CKeditor though it has a few quirks as well.

Best,

Joe

7/5/2010 7:14:13 AM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: Text Editor

Hi Joe,

Have tested 3.3.7 with Chrome, Firefox IE 8 & Apple Safari all have the same response when trying to use the plain text function.

I have reverted back to 3.2.7 for now, will give CKeditor a go and see how that works.

Thanks as always

Len

8/9/2011 4:26:30 AM
Gravatar
Total Posts 1

Re: Text Editor

Hello.

I need to add new text editor to mojoportal. How is it possible? I have downloaded RTEditor. Can I add it to mojoportal ? Or is there some editor in which i can change text font,size and color.

Thanks.

8/9/2011 9:26:27 AM
Gravatar
Total Posts 2253

Re: Text Editor

Hi Martin,

Please see the FAQ for information on why the Font toolbars aren't included in the editors.

If you want to add a different editor, you'll have to look at how the current editors are configured with the EditorProvider.

HTH,
Joe D.

8/9/2011 2:27:04 PM
Gravatar
Total Posts 51

Re: Text Editor

Hi Martin,

I don't recommend you to add a different editor to mojoPortal. If it's absolute necessary (customer request perhaps) using font toolbars see the link: http://www.mojoportal.com/customizing-the-editor-toolbars.aspx

By tinyMCE for example you can change FullWithTemplatesToolbarRow3Buttons as followed:

FullWithTemplatesToolbarRow3Buttons="template,separator,formatselect,fontselect,fontsizeselect,
forecolor,backcolor,separator,fullscreen,spellchecker"

 

Hope it helps,
Erhan 

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