You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Thursday, 25 May 2023
  4 Replies
  572 Visits
When adding a collapse div (bootstrap 5) then it is not possible to edit collapsed content.

<div id="collapse-3" class="card-collapse collapse">
Test
</div>

Removing class collapse shows content.

Any workaround in editor? Like "show hidden elements" function or so that I am missing?
more than a month ago
·
#113841
Accepted Answer
You need to clear your browser cache after making any changes to your template stylesheet.

Also, set Compress CSS to No in the Editor Global Configuration, to check the change, then you can re-enable it.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113843
So issue was the compress CSS setting. Changed it to no and it solved the issue!

Thanks and have a good weekend!
IUSAB selected the reply #113841 as the answer for this post — 9 months ago
more than a month ago
·
#113841
Accepted Answer
You need to clear your browser cache after making any changes to your template stylesheet.

Also, set Compress CSS to No in the Editor Global Configuration, to check the change, then you can re-enable it.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113839
Didn't work. The style does not affect the collapse even though i added a custom stylesheet as last stylesheet both in admin template and in frontend template and also in JCE custom style template global configuration.

.mceContentBody .collapse, .mceContentBody .collapse:not(.show) {
display: inherit !important;
}

does nothing and when inspecting element with class collapse in backend then

.collapse:not(.show) {
display: none;
}

from

administrator/index.php?option=com_jce&task=editor.pack&type=css&slot=content& ...(hash code or something that i removed)... =1&context=22&profile_id=5

is loaded and hides the div.
more than a month ago
·
#113838
Add the following to your template stylesheet:


.mceContentBody .collapse {
display: inherit;
}

Just because you're not paranoid doesn't mean everybody isn't out to get you.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!