About FCKeditor

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/13/2007 11:59:54 AM
Gravatar
Total Posts 6

About FCKeditor

Hi, Joe,

       When I input some MathML into the FCDEditor source window like this:

<math><msqrt><mi>&pi;</mi></msqrt></math>

    I save it and open the source window again , the html become:

<math></math><msqrt></msqrt><mi></mi>&pi;

Why?   How can I fixed it?

 

Wing

 

 

10/14/2007 9:45:38 AM
Gravatar
Total Posts 18439

Re: About FCKeditor

Hi Wing,

FCKeditor is designed to edit HTML/XHTML. I'm unfamiliar with MathML, but the w3c page on it here:

http://www.w3.org/Math/

says its intended for machine to machine communication, though I do see info about Putting Math on the Web with MathML.

I think in this case FCKeditor is enforcing XHTML and it doesnt know anything about MathML so anything that looks like tags it is html encoding.

The link above metions an editor called amaya which can apparently handle MathML. I had not heard of this before but perhaps we can implement an editor provider for it at some point but I'm not really sure. It looks like its designed to run on a desktop and upload html files. Maybe it could be configured to talk to a web service and could be made to work with a db driven content management system that way.

Its not a high priority for me personally at the moment unless I get a customer who wants to sponsor support for it but you have at least put it on my radar for the future.

You might also try experimenting with TinyMCE or XStandard editors which are already available in mojoPortal and see if they can handle MathML.

Best,

Joe

10/14/2007 10:04:23 AM
Gravatar
Total Posts 18439

Re: About FCKeditor

I did a little googling and it appears that a ticket was opend for FCKeditor to add a plugin for MathML, didn't find any evidence of it being completed.

http://www.soft4science.com/

has several MathML products for .NET but they aren't open source.

http://abacus.mozdev.org/index.html also looks interesting

10/14/2007 10:16:41 AM
Gravatar
Total Posts 6

Re: About FCKeditor

Joe,

    Thank you very much!

But, when I post the same thing in the FCKeditor Demo Site.  It's OK!

I just want what I input in the input editor can be shown up the same tag in the source editor again.

 

 

10/15/2007 9:41:34 PM
Gravatar
Total Posts 6

Re: About FCKeditor

Hi Joe,

How can I enable javascripts in the FCKeditor?

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