Skip to Content Skip to Menu

🌲 Merry Christmas! Great Savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2025!

JCE Editor Dropdown selector hang-ups/frozen

  • bmeeker
  • bmeeker
  • ONLINE
  • Posts: 75
  • Thanks: 8
  • Karma: 1
3 days 3 hours ago #342816 by bmeeker
I need to revisit an old problem - JCEditor with CB Profile Editor Text Area fields.
The issue I have had with it for some time is still there. The last time we discussed, you hoped newer versions of Joomla, CB and JCE would resolve the issue.
Unfortunately, it hasn't. I have been in development mode and hoped it would resolve with Joomla 6, but tested it and it does not.
This is the last issue I have for an otherwise awesome CB website I have built over the years.

The issue is the dropdowns for things like text styles, size, font selection and other dropdowns will hang-up the dropdown selection area, frozen on the screen after selecting. It does not go away, even switching from tab to tab. You have to refresh the browser screen to get it to disappear.
This only happens in CB Profile. In my CB Website's case, it is always working on a displayed user's account. 
FYI each account's Profile has 30+ Editor Text Area fields to it. 
The dropdown selector hang-up doesn't occur with the first or second use of a field, but starts soon thereafter. And can happen from field to field. So if you are editing multiple Editor Text Area fields, it can occur more often - very frustrating to the user trying to make edits. Again, right now the only remedy is to reload the browser and Profile page.
As a side note, if you use a browser's Developer's tools, you can delete the "menu" div to make it disappear instead of reloading. But my users' will not know how to do that and shouldn't have to.

JCE allows my clients to edit their profiles better than TinyMCE. JCE has a much better image manager and interface for adding images, videos, templates, etc.
So I really need to get this resolved and hope you can help. You've helped with all my other questions and issues.
My sites use Joomla 5.4, php8.3 and all the latest CB and other software. It is ready to go to Joomla 6, but want to resolve the issue first if possible.
Let me know if you need access to a site to test. 

Below is a sample of the starting div for one of the Profile's Editor Text Area field's dropdown area.

<div role="menu" id="menu_cb_enrollment_fontselect_menu" class="mceListBoxMenu mceDefaultSkin mceModernSkin mceMenu" aria-orientation="vertical" style="display: block; width: 112px; height: 384px; left: 274px; top: 742px;" tabindex="0"><div id="menu_cb_enrollment_fontselect_menu_items" class="mceMenuItems"><div id="mce_26" class="mceMenuItem mceMenuItemEnabled mceEnabled" title="Andale Mono" role="menuitem" aria-disabled="false" aria-current="false" aria-selected="false" tabindex="-1">

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

  • bmeeker
  • bmeeker
  • ONLINE
  • Posts: 75
  • Thanks: 8
  • Karma: 1
3 days 2 hours ago #342817 by bmeeker
Replied by bmeeker on topic JCE Editor Dropdown selector hang-ups/frozen
Screenshot of frozen dropdown
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49947
  • Thanks: 8537
  • Karma: 1466
2 days 23 hours ago - 2 days 23 hours ago #342819 by krileon
Replied by krileon on topic JCE Editor Dropdown selector hang-ups/frozen
We've no control over JCE's JavaScript doing that. We simply call Joomla's API to initialize the editor and what happens after that is 100% in the hands of JCE.

Have you tried contacting JCE support about all this and having them review your install? If they've any feedback about how we can better initialize their editor then we'd be glad to improve this, but as it stands I don't know what more to do here. Below is the API we're calling in the event they have any further suggestions.

Code:
return Editor::getInstance( $editor )->display(   $name,   htmlspecialchars( $content, ENT_COMPAT, 'UTF-8' ),   $width,   $height,   $columns,   $rows,   $buttons,   $id,   $asset,   $author,   $params );


Called exactly the same as Joomla editor fieldtypes. In our implementation $asset and $author can both be NULL if that'd be a possible problem for JCE it would be good to know. There's 2 legacy locations where $id is null, but profile fields are not either of those locations.

FYI each account's Profile has 30+ Editor Text Area fields to it.

Multiple editors on a single page cause a lot of problems for JCE. I don't know why. Every editor in CB is given a proper unique name and id. So I don't really understand the problem here either as again we're just calling Joomla API to render an editor.


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: 2 days 23 hours ago by krileon.

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

  • bmeeker
  • bmeeker
  • ONLINE
  • Posts: 75
  • Thanks: 8
  • Karma: 1
2 days 23 hours ago #342820 by bmeeker
Replied by bmeeker on topic JCE Editor Dropdown selector hang-ups/frozen
Thanks Kyle

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

  • bmeeker
  • bmeeker
  • ONLINE
  • Posts: 75
  • Thanks: 8
  • Karma: 1
2 days 4 hours ago #342830 by bmeeker
Replied by bmeeker on topic JCE Editor Dropdown selector hang-ups/frozen
Kyle - I also have an issue with TinyMCE. Both JCE and TinyMCE have issues the 2nd time a Editor Text Area field is accessed for editing.
I switched to TinyMCE and when the field is opened then closed or saved, then opened again, TinyMCE shows code, not WYSIWYG. It doesn't give the option to switch to WYSIWYG, it just shows code - almost like CodeMirror.
And with JCE, it is the same scenario. Open an Editor Text Area field, use a dropdown, then cancel or save the field - and the next time you open the same field and use the same dropdown, it has the issue with the frozen dropdown.
So both editors are having issues re-opening the same Editor Text Area field.
FYI - there are no issues going from Editor Text Area field to Editor Text Area field. It does not freeze the dropdown selector in JCE or show just code in TinyMCE. It is just when trying to edit the same Editor Text Area field more than once.
Again, refreshing a browser resolves it - but not an ideal solution.
Any idea what could be causing these issues with re-opening a Editor Text Area field.

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

  • bmeeker
  • bmeeker
  • ONLINE
  • Posts: 75
  • Thanks: 8
  • Karma: 1
1 day 18 hours ago - 1 day 18 hours ago #342832 by bmeeker
Replied by bmeeker on topic JCE Editor Dropdown selector hang-ups/frozen
I have attached a couple of copies of source code for the Editor Text Area after clicking the first and second time - using TinyMCE.
SHOWS WYSIWYG.txt shows the source code for the Editor Text Area the first time an Editor Text Area field is clicked. Shows the WYSIWYG editor as it should.
The ONLY SHOWS CODE.txt file is the Editor Text Area source code when clicking the same Editor Text Area field a second time. Only shows source code editor window, with no options.
Attachments:
Last edit: 1 day 18 hours ago by bmeeker.

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

Moderators: beatnantkrileon
Powered by Kunena Forum