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.

#107949 Ban tag insertion in editor custom field

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 Friday, 28 May 2021 22:39 BST

iorbita
Hi,
Is there a way to ban paragraph or div tag insertion only for "editor" custom field?
The editor must be tag free when displayed as a custom field but must contain a div or p tag when used for articles. Is it possible?


Thanks,
Lorenzo

Ryan
At present it is not possible for an editor field to have a specific profile assigned to it, which is essentially what you need to do to "ban paragraph or div tag insertion".

I am working on this now, but I can't promise the feature will be implemented. At the moment it does not look likely.

Ryan Demmer

Lead Developer / CEO / CTO

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

iorbita
ok thanks i will find a workaround to solve my problem ...