CB Core Fields Ajax 4.0.0

6 months 1 week ago #303737 by krileon
WYSIWYG editors utilize custom JS that doesn't work when ajax loaded in. There's no fix for it until I can figure out how to make that JS load and work without fatal JS errors and have it work for any WYSIWYG editor you use. It's just not as easy as it sounds and a lot of fault is with how poorly the editor binds to its textarea field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
6 months 1 week ago - 6 months 1 week ago #303742 by krileon
Ok, latest build has a workaround implemented for TinyMCE. CodeMirror it's not possible because of how the editor binds to the textarea input. JCE is untested, but if they use jQuery to bind the textarea editor it should have no issues rebinding. That's the best I can do for now as editors not using jQuery or safely reusable JS to bind simply won't rebind properly.

To explain why this worked in very very old releases it's because it used to render the edit HTML on initial view. It was never ajax loaded in. Now it's ajax loaded in so it's only rendered if it's necessary. The previous usage basically bloated the page 10x over with HTML and hurt performance significantly. That isn't an issue now with on-demand inline editing since it just loads via ajax. This isn't a problem with CB Core Fields Ajax, but a problem with how these WYSIWYG editors bind to their textarea inputs. I have to basically implement manual workarounds for each one to rebind, unfortunately.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Moderators: beatnantkrileon
Time to create page: 0.370 seconds
Facebook Twitter Google LinkedIn