Update placeholder properties documentation. see #156
This commit is contained in:
parent
46dc69fa5b
commit
f5a02e6fde
1 changed files with 12 additions and 2 deletions
|
|
@ -20,16 +20,26 @@
|
||||||
|
|
||||||
================ BASE PROPERTIES
|
================ BASE PROPERTIES
|
||||||
|
|
||||||
Types (type attribute):
|
id: unique identifier, used to identify the placeholder
|
||||||
|
name: name of the placeholder, used for display purposes
|
||||||
|
default_value: default value of the placeholder, used when the placeholder is not replaced (only for default placeholders)
|
||||||
|
|
||||||
|
type attribute:
|
||||||
0: always show (when composing a part of the text must be selected if need_selected = 1)
|
0: always show (when composing a part of the text must be selected if need_selected = 1)
|
||||||
1: show when reading an email
|
1: show when reading an email
|
||||||
2: show when composing a mail (a part of the text must be selected if need_selected = 1)
|
2: show when composing a mail (a part of the text must be selected if need_selected = 1)
|
||||||
|
|
||||||
|
is_default attribute:
|
||||||
|
0: Custom placeholder
|
||||||
|
1: Default placeholder (not editable, cannot be deleted)
|
||||||
|
|
||||||
================ USER PROPERTIES
|
================ USER PROPERTIES
|
||||||
Enabled (enabled attribute):
|
enabled attribute:
|
||||||
0: Disabled
|
0: Disabled
|
||||||
1: Enabled
|
1: Enabled
|
||||||
|
|
||||||
|
text: text of the placeholder (only for custom placeholders)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { transformTagsLabels, getCurrentIdentity } from './mzta-utils.js';
|
import { transformTagsLabels, getCurrentIdentity } from './mzta-utils.js';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue