mojoPortal 2.3.9.8 - CKEditor removes markup attributes

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.
8/12/2013 5:05:07 PM
Gravatar
Total Posts 5

CKEditor 42

I believe that there might be a bug using the latest release and CKEditor42.  The problem only appears when the user has placed a jquery accordion on the page.  When a user goes to modify the page, it strips the accordion tags from the page.  If I point the web.config file to an older version of CKEditor, it appears to work fine.  I confirmed this on our test and production environment.  If there is a quick fix or I have overlooked something, let me know.

Thanks!

8/13/2013 11:41:02 AM
Gravatar
Total Posts 18439

Re: CKEditor 42

Hi,

Thanks for reporting this problem. I just looked into it and I think I found the fix.

Edit the /ClientScript/ckeditor-mojoconfig.js

​look for  the commented out line like this:

//config.allowedContent = 'true';

uncomment it and remove the quotes from around true so it looks like this:

config.allowedContent = true;

You may have to refresh the edit page a few times to make sure it reloads this js file.

The newer version of CKeditor has very strict content filtering on by default and this change turns that off.

Hope that helps,

Joe

8/14/2013 12:40:15 AM
Gravatar
Total Posts 49

Re: CKEditor 42

Thanks Joe, worked for me although I got impatient and ended up deleting my cache in IE to get it working.

8/14/2013 2:22:03 PM
Gravatar
Total Posts 5

Re: CKEditor 42

Thank you for the very prompt response and solution!  This fixed the problem.

8/30/2013 12:51:11 PM
Gravatar
Total Posts 18439

Re: mojoPortal 2.3.9.8 - CKEditor removes markup attributes

ordinarily I would patch the 2.3.9.8 release with this fix, but since this release is already in the web app gallery I cannot modify the package file. For security reasons if the file hash changes the application installer won't install it, so if I were to modify the package it would fail to install from the web app gallery.

So unfortunately this little fix will have to be a manual fix until we ship the next release package.

9/10/2013 8:02:26 AM
Gravatar
Total Posts 98

Re: mojoPortal 2.3.9.8 - CKEditor removes markup attributes

 hello guis,

 I encountered the same problem and the fix working also for me.

 Thank you

 

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