Global variables for article body auto-actions

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Dec/2015, at 09:05

You can put the following variables within the <Dict> node of the EditorialConfig configuration file. For instructions, see Adding or overriding variables in your EditorialConfig.

Find the actual values of such variables in EditorialConfig item in EdAdmin4, the Application Configuration > Client Applications, searching for EditorialConfig. The data is common for all titles in the system.

Should you need to specify different values of variables for different typographies, look for instructions at the Typography-dependent overridable variables.

Variable

Type

Default value

Comment

glbBodyAutoActions

String

empty string

You can enable on the global level the post-processing on the body text when linking a text on frame by drag and drop, if the personal preference F_ApplyAutoActions is ticked in Page Editing Preferences.

The default value is an empty string, that means that even if you tick the preference, but the actions are not specified in the EditorialConfig, they won't be performed.

The value of the glbBodyAutoActions variable is the list of actions to perform, e.g.:

#FW=U,#FPS=>is<

means: first word in uppercase, first paragraph formatting >is<.

The value of the glbWrdsExtCap variable is the list of words to extend selection for auto-caps to, such as:

"A,In,Is,MK,I"

This affects the scripts BodyApplyAutoActions, BodySetAutoActions and LinkDroppedArticle.

glbWrdsExtCap

String

empty string

 

See also

Global variable to post-process clipboard when pasting in a text