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.

  Wednesday, 17 November 2021
  4 Replies
  509 Visits
Hi Ryan,

In a frontend editing situation, we want to hide the parameters that are offered in the Add caption dialog box for images (see also screenshot). We want our frontend editors just to submit the caption text; all styling is taken care of in the site's global styling. However:

- We cannot find settings to hide them in the Profile management.
- We also tried hiding them by changing the css in media/jce/css/plugin.css, however this has no effect.

Hope you can help us out on this one?
2 weeks ago
·
#109491
As an alternative to the Caption dialog, why not try the Figure format? This will create a <figure> element around the image with a <figcaption> element for the caption text. You can then style this as required using the sites css, eg:

https://cdn.joomlacontenteditor.net/images/news/296/figure-example.gif

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

2 weeks ago
·
#109494
Thanks, but for publishers we prefer the more intuitive caption buttons, if possible.
We expected this code in {media/jce/css/plugin.css} to solve our problem:


[data-plugin="caption"] .uk-active div.uk-form-row {
display: none;
}
[data-plugin="caption"] .uk-active div.uk-form-row:first-child {
display: unset;
}
[data-plugin="caption"] #preview {
display: none;
}


But still there. What do we miss?
2 weeks ago
·
#109497
This worked in my tests:


[data-plugin="caption"] #text_tab > .uk-form-row {
display: none;
}

[data-plugin="caption"] #text_tab > .uk-form-row:first-child {
display: block;
}

[data-plugin="caption"] #preview {
display: none;
}

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

2 weeks ago
·
#109501
Thank you Ryan. I think we had a cache problem. Everything is working as aspected now.
Joris marked this post as Resolved — 2 weeks ago
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!