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
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116363 Linebreak in adminpanel after pdf-icon on filelink

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by matrix on Friday, 29 March 2024 19:47 GMT

matrix
Hi
I use jce editor pro (newest version) and jce mediabox (newest version) and i have this problem:
when i insert a pdf-file-link (see picture 1.jpg), after the text "test" jce will make a linebreak. but i will
the icon and the filename after the ":".
on website, this will also so show with linebreak. here, i have made a css command:
/*PDF-Icon Zeilenschaltung verhindern*/
img {
max-width: 100%;
height: auto;
display: initial;
}
that will made, the icon and filename is right after "test: "

is there a solution in the config to not have a linebreak here or is this a config in the profile?
when i made this with the default-profile as superadmin, the linebreak will not be there.

thank you

Attachments

Ryan
when i insert a pdf-file-link (see picture 1.jpg), after the text "test" jce will make a linebreak. but i will
the icon and the filename after the ":".
on website, this will also so show with linebreak. here, i have made a css command:
/*PDF-Icon Zeilenschaltung verhindern*/
img {
max-width: 100%;
height: auto;
display: initial;
}


The linebreak is not made by JCE but is most likely caused by a display:block style added to images on your site by your template stylesheet. You custom css is overriding this.

Ryan Demmer

Lead Developer / CEO / CTO

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

matrix
yes - that i have see. but i have made the css-override:

/*PDF-Icon Zeilenschaltung verhindern*/
img {
max-width: 100%;
height: auto;
display: initial;
}

In Case: display: initial;
That will work on live-Site, but in the backend on made the article, this will noch work.
On many other sites this works so - only here not.
When i made a filelink with superadmin, this block will no show same in the backend.
can i made some things in the profile?

Ryan
That will work on live-Site, but in the backend on made the article, this will noch work.


Which template are you using and which file are you adding the override css to?

Ryan Demmer

Lead Developer / CEO / CTO

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

matrix
i cannot answer - the system here will say invalid catogory... 😉

matrix
i use the helix ultimate 2.0.18 (newest version).
in this template admin i can made css-changes (see print screen).

i have made a copy from the site for testing. i have made a new jce profile (Redaktion I instead Redaktion II) and give
them the same rights. In this case, the linebreak will not made. anything in profile is not good.

when you have no furter idea, the i will made this solution on the live-site.

strange too - on many other sites are no problem's :)

thank you ryan

Ryan
in this template admin i can made css-changes (see print screen).


This is the reason the css changes are not shown in the editor. You need to add the css either to the main template.css file or to a custom.css file.

Ryan Demmer

Lead Developer / CEO / CTO

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

matrix
ouwww - why this work on many other sites??? i be webdesigner and have at time over 40 sites, that i made. on all sites is
helix ultimate and on all sites (with my override in the helix) will this work.
only on this site...
strange - but i will now made a new profile and a new group and hope, this will work...

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

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

Ryan
It doesn't look like JCE is configured to load the template stylesheet. Ensure that the Editor Styles option in the Editor Global Configuration is set to Template CCS Files.

If this is set, then check in Editor Profiles -> Editor Parameters -> Typography, that the Editor Styles option is set to Inherit.

Ryan Demmer

Lead Developer / CEO / CTO

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

matrix
hi ryan
configuration is exact, how you write...

matrix
hi ryan
i have made this:
i have deleted the "Redaktion" profile. then i have made a copy of the Default profile. renamed this new Default profile as "Redaktion".
then i have costumized this Provile "Redaktion" same before - and now, the linebreak will not made.
why anywhere :).
you can close this ticket and many thank's

matrix
Hi Ryan
Same problem with another site. This time with the "default" profile.
My workaround (at #116389" not work this time.
I mean, this is after Upgrade from J4 to J5. I'm not 100% sure.