Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Core Fields Ajax 4.0.0

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 8 months ago #303737 by krileon
Replied by krileon on topic CB Core Fields Ajax 4.0.0
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 - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 8 months ago - 6 years 8 months ago #303742 by krileon
Replied by krileon on topic CB Core Fields Ajax 4.0.0
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 - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.
Last edit: 6 years 8 months ago by krileon.

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

  • bmeeker
  • bmeeker
  • OFFLINE
  • Posts: 65
  • Thanks: 8
  • Karma: 1
6 years 1 month ago #308580 by bmeeker
Replied by bmeeker on topic CB Core Fields Ajax 4.0.0
Has there been any progress on getting this to work with JCE?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 1 month ago - 6 years 1 month ago #308581 by krileon
Replied by krileon on topic CB Core Fields Ajax 4.0.0
Nope, not at this time. It may not be possible depending on how JCE binds to its editors. It however works perfectly fine with TinyMCE.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.
Last edit: 6 years 1 month ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum