Too many formatting tags

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.
11/14/2009 5:29:57 PM
Gravatar
Total Posts 123
/Mats Lillnor

Too many formatting tags

I have found that when editing HTML-content and you step into source-mode that there are duplicates or up to eight or so formatting tags after each other. This happens when I edit content and marks some text and klick for instance the BOLD-button. It looks ok, but when you look at the source code there are many <b> after each other. i have seen the same phenomenom with <i> as well.

I am still using the preview version 2.3.2.7 with MSSQL. I just saw in the blog that there is an upgrade which includes a new version of the editor, haven't tried with the latest, but if this updated FCKEditor is included in my build it could be a bug in the new version of the editor. I will upgrade and then report back if I find any change.

 

An example. Here is a snippet of the source code created by the editor.

---

<p><b><b><b><b><b><b><b><b>Bilder</b></b></b></b></b></b></b> och film.<br />

</b>Här är ett ...</p>

---

 

/Mats

11/15/2009 10:53:54 AM
Gravatar
Total Posts 18439

Re: Too many formatting tags

I have occasionally seen issues like this in the past with various version of FCKeditor. I think sometimes it happens if the content is already formatted and you select part of it and format it again.

If the problem continues after upgrading, you can switch back to the previous version of FCKeditor, since the files would still exist on disk from previous versions of mojoPortal. You can put this in your user.config:

<add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor264/" />

to make it use the previous version.

Or you might have better luck using TinyMCE.

Best,

Joe

11/15/2009 12:16:28 PM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Too many formatting tags

Ok, thanks.

I have not been able to recreate the problem and I am not sure exactly how it happens. All I know is that I have a few html-contents where this is appearent on many places. I will look through other sections of the site more carefully and do the upgrade. Ill let you know if it reoccurs or I find any more clues to the problem.

Pherhaps I should change editor. Is TinyMCE "the best" and your suggestion? Why is FCKEditor the default then?

 

/Mats

11/15/2009 12:21:02 PM
Gravatar
Total Posts 18439

Re: Too many formatting tags

TinyMCE is the default on new installations. I'm using it on this site. I like it but each editor has a few quirks or differences with others.

Best,

Joe

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