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.

#105190 Make simple language specifing

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 Friday, 28 August 2020 10:41 BST

[email protected]
Can you develop a button to make simple for users inserting a "lang" attribute in a text selection?
Thanks

Ryan
You can do this with "Custom Styles".

Go to Editor Profiles -> Plugin Parameters and click on the Style Select tab.

Under Custom Styles, fill in the fields as in the image below, setting the Attributes value to be the lang attribute with a value of your choice, eg: lang="en"

https://cdn.joomlacontenteditor.net/tmp/105190-make-simple-language-specifing.jpg

Click Save.

In the editor, you can now select some text and apply the Custom Style you have created by selecting it from the Styles list.

Ryan Demmer

Lead Developer / CEO / CTO

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