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 Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#101915 Preserve image code

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 Ryan on Tuesday, 10 December 2019 19:34 GMT

houba_houbi
Hello

I wrote a tutorial on an cutom module and I need to see this code : <img src="https://www.joomlacontenteditor.net/images/color-icons/color-bleu.png" />
But this code in converted into the real image.
How to preserve this code entry ? (just for this moduel I need)
Thanks

Ryan
Paste the code

<img src="https://www.joomlacontenteditor.net/images/color-icons/color-bleu.png" />

into the editor window, not into the Code tab. You can then for example change the paragraph it is in into a <pre> element using the Format list, eg:

https://cdn.joomlacontenteditor.net/tmp/101915-preserve-image-code.gif

Ryan Demmer

Lead Developer / CEO / CTO

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

houba_houbi
So i change with a "pre" balise but the image is still here. See the image enclosed please.

Attachments

Ryan
Does it become an image when you save, or when you paste in the code?

Ryan Demmer

Lead Developer / CEO / CTO

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

houba_houbi
Just when I paste the code before closing the module

Ryan
I am not able to replicate this issue in any of my tests. 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
Please install JCE Pro 2.8.1 RC11 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Then, paste in your HTML using CTRL + Shift + V (CMD + SHIFT + V on a Mac), or by clicking the Paste as Plain Text button.

You can then change the paragraph the text has been pasted in, into a <pre> tag if required.

Ryan Demmer

Lead Developer / CEO / CTO

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

houba_houbi
Hello Ryan
OK thanks it's working with this release.

As I see the 2.8 version is not automatically proposed in the update installer ? All my websites proposed only this last version 2.7.20 pro.
And how to have the new editor toolbar theme ? I don't find in the configuration where to choose this new editor
Thanks

Ryan
JCE Pro 2.8.1 has been released and is available via the Joomla Updater.

Unfortunately I had to remove the change I made that allowed you to paste in your code as text as suggested above, as ithe change was causing some other issues.

I am working on a solution to this, and will update you as soon as I have it resolved.

Ryan Demmer

Lead Developer / CEO / CTO

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

houba_houbi
ok I understand. Hope you find a fix.

Ryan
I have added this back in JCE Pro 2.8.2 Beta 4 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

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