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.

#116587 Change Format names

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 Monday, 15 April 2024 16:39 BST

[email protected]

Is it somehow possible to change the names of the formats in the Format select list?
For instance have it say "Normal text" instead of "Paragraph" and "Code block" instead of "Preformatted".

Ryan

Use a language override, with the following contants as required:

WF_ADVANCED_PARAGRAPH="Paragraph"
WF_ADVANCED_DIV="Div"
WF_ADVANCED_DIV_CONTAINER="Div Container"
WF_ADVANCED_ADDRESS="Address"
WF_ADVANCED_PRE="Preformatted"
WF_ADVANCED_H1="Heading 1"
WF_ADVANCED_H2="Heading 2"
WF_ADVANCED_H3="Heading 3"
WF_ADVANCED_H4="Heading 4"
WF_ADVANCED_H5="Heading 5"
WF_ADVANCED_H6="Heading 6"
WF_ADVANCED_BLOCKQUOTE="Blockquote"
WF_ADVANCED_CODE="Code"
WF_ADVANCED_SAMP="Code Sample"
WF_ADVANCED_DL="Definition List"
WF_ADVANCED_DT="Definition Term "
WF_ADVANCED_DD="Definition Description"
WF_ADVANCED_SPAN="Span"
WF_ADVANCED_SECTION="Section"
WF_ADVANCED_ARTICLE="Article"
WF_ADVANCED_HGROUP="HGroup"
WF_ADVANCED_ASIDE="Aside"
WF_ADVANCED_FIGURE="Figure"
WF_ADVANCED_FIGCAPTION="Figcaption"
WF_ADVANCED_HEADER="Header"
WF_ADVANCED_FOOTER="Footer"
WF_ADVANCED_NAV="Nav"

Ryan Demmer

Lead Developer / CEO / CTO

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

[email protected]

Ah, thanks. Don't know why I couldn't find this on my own. Sowwy!

Ryan

I might make it possible to change this in the parameters, in Editor Profiles -> Plugin Parameters -> Format Select, so you can toggle the format and set the text to use for the title.

Ryan Demmer

Lead Developer / CEO / CTO

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