Support

Home Forums Event Espresso Premium Category WYSIWYG editor is broken

Category WYSIWYG editor is broken

Posted: June 15, 2015 at 9:10 am

Viewing 9 reply threads


Joren

June 15, 2015 at 9:10 am

Category WYSIWYG editor strips out all HTML that I’ve tried adding except for links as soon as I hit save. Including different headers (h1 h2 h3), horizontal rules, even bold/strong. http://i.imgur.com/86Ie7na.jpg


Jonathan Wilson

June 15, 2015 at 10:36 am

Hello Joren,

This sounds like a plugin conflict. Can you try to rule out any plugin conflicts? Do this by deactivating all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know this is the culprit.


Joren

June 15, 2015 at 11:10 am

Doesn’t look like it. Disabled everything except EE core, even EE addons, still wipes out all html


Jonathan Wilson

June 15, 2015 at 4:57 pm

Hi Joren,

Also, there may be a theme function that is causing the issue. You can check for this by first switching to the Twenty Fourteen theme (or any other theme from the wordpress.org theme repository, all of these themes pass a thorough code quality review before inclusion.)


Jonathan Wilson

June 15, 2015 at 4:57 pm

Also, can you share a link to the site?


Joren

June 15, 2015 at 7:02 pm

Just tried switching to twenty fourteen, also does not help.

You might not be aware, but by default wordpress does not have a WYSIWYG associated with its post category descriptions, and what’s happening here is normal behavior for post category descriptions – wordpress strips out most html added to a description. Is it possible that you guys just tacked on the WYSIWYG but didn’t make the necessary changes to wordpress’ category update code that strips out this HTML?

Here’s a link to the category page http://www.que-que.com/event-category/aerospace/ which you can see the description above the list of posts, currently everything stripped out of it but anchor elements.


Joren

June 15, 2015 at 7:04 pm

Never mind, as I was writing that out I had an idea and installed a plugin that disables WordPress filters for updating normal post categories and allows it to keep HTML. It worked with EE as well 🙂


Joren

June 15, 2015 at 7:05 pm

https://wordpress.org/plugins/allow-html-in-category-descriptions/ was the plugin BTW


Josh

  • Support Staff

June 15, 2015 at 7:13 pm

Hi Joren,

It turns out there is an issue with the category saves. While the category editor itself doesn’t appear to be broken (WYSIWYG works, just not the save) Jon probably should have checked before asking you to rule out a plugin conflict.

RE:

Is it possible that you guys just tacked on the WYSIWYG but didn’t make the necessary changes to wordpress’ category update code that strips out this HTML?

I don’t think so, but I’m going to make a ticket for someone on the dev team to investigate.


Josh

  • Support Staff

July 13, 2015 at 3:07 pm

Hi Joren,

Event Espresso 4.7.8.p is released and includes an update to the category editor so it doesn’t strip some html tags.

Viewing 9 reply threads

The support post ‘Category WYSIWYG editor is broken’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso