When editing in HTML mode in JCE, if I close the edit it ignores the changes!

More
1 year 4 months ago #74689 by ebura
Almost there, and thank you for your dedication!

It warns me if I'm at the HTML tab, but if I select "cancel" it closes anyway without updating it...

I modified your code to trigger a click, that way it always saves, and solves this old issue!
Code:
if (JceCodeTabActive.length) {         $ck('.wf-editor-tabs > [aria-controls="wf-editor-wysiwyg"]').trigger("click");     }

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74695 by ced1870
thank you, I will try
I have not thought about this solution :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74698 by ced1870
well done :) I will add this in the next version

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74699 by ebura
Nice, thank you, it was mainly your code.

Please Log in or Create an account to join the conversation.

Time to create page: 0.225 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 756 guests and one member online