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.

#102149 Display HTML 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 iorbita on Monday, 09 December 2019 16:19 GMT

iorbita
Hello, I would like to display html code as it is, here the html code to display:

<span class = "icon-glutenfree"> </ span>
I have wrapped <span> tags in <code> tag and added <code> tag in "Keep Tags" field (Clipboard plugin parameters), but the code is not displayed ... where I'm wrong? Thank you, Lorenzo EDIT: ok, I found ... the code must be added from the "Editor" tab and not from the "Code" tab...

Ryan
Download and install JCE Pro 2.8.2 Beta 3 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Click on the Paste as Text button in the editor toolbar, and paste in your HTML code. The code will be pasted in as plain text. You can then change the paragprah to a <pre> or <code> tag using the Format list.

https://cdn.joomlacontenteditor.net/tmp/102149-display-html-code.gif

Ryan Demmer

Lead Developer / CEO / CTO

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

iorbita
Hello,
it seems that on my side it doesn't work

https://filedn.com/lV1GJHCzFN9yUtwWXQpOHiY/forum/video/jce-display-html-code.gif


Also, I just noticed that with "Retina" template there is a problem with loading icons ...

https://www.evernote.com/l/AAFNLHbqvrFIVZ_YKPBX-bqGUtcchEKrpUcB/image.png


iorbita
...disconnected and reconnected to the back-end and everything seems to work (code + icons), thanks! 😉