Markers in JSON format
The Design Editor uses so-called markers to manage permissions for each design element. Alternatively to the markers in Photoshop and InDesign files, you can specify these permissions outside of templates in the JSON format. In this topic, you can find a table of all the markers supported by the Design Editor and their equivalent JSON definition.
Now, let's look at the markers supported in Design Editor.
Manipulations
| Marker | Type | Default value | Description with a JSON example |
|---|---|---|---|
<MAD> | boolean | t | Allows Deleting. By default, your users can delete any element on the canvas in the advanced edit mode. MAD marker |
<MADND> | boolean | t | Allows Drag-N-Drop. By default, the editor enables the drag-and-drop mode for image placeholders when you specify the MADND marker |
<MAMH> | boolean | t | Allows Move Horizontal. Without this marker, your users can move design elements on the canvas. MAMH marker |
<MAMV> | boolean | t | Allows Move Vertical. Without this marker, your users can move design elements on the canvas. MAMV marker |
<MAR> | boolean | t | Allows Rotation. By default, your users can rotate elements. A round grip appears below bounding rectangles indicating that the rotation is allowed. MAR marker |
<MRC> | enum of a | p | Defines how corner grips resize single design elements. Using permissions, you can define the MRC marker This permission is equal to the Disable corner grips | |
<MRE> | boolean | t | Enables edge grips on bounding rectangles allowing you to resize elements arbitrarily. By default, only rich formatted text and image placeholders can be arbitrarily resized. MRE marker |
Visualization
| Marker | Type | Default value | Description with a JSON example |
|---|---|---|---|
<VNP> | boolean | t | No Print. By default, the Design Editor shows all design elements on the canvas, proof images, and high-resolution images. If you add VNP marker |
<VNS> | boolean | t | No Show. By default, the Design Editor shows all design elements on the canvas, proof images, and high-resolution images. If you add VNS marker |
Text
| Marker | Type | Default value | Description with a JSON example |
|---|---|---|---|
<ART> | boolean | t | Enables ARched Text based on the text on a path. Note that the path drawn in the template will be replaced with a circle or a line (when the bend is undefined). By default, text on a path appears as curved text. ART marker |
<ARTB> | float | 0 | ARched Text Bending defines the sector of the circle that is used to draw the text, in the range [ ARTB marker |
<AST> | boolean | t | Applies only to PSD templates. Automatically Scales Text to fit the bounding rectangle. This marker is only applied to point text and allows for arbitrary resizing such text. When you change the content of point text, the original text bounds remain unchanged and the text is scaled disproportionately to fit these bounds. By default, you can resize point text only proportionally. AST marker |
<RT> | enum of true | false | auto | true | Rich Text defines how the Design Editor handles paragraph text layers and text frames when
RT marker |
<TACA> | boolean | t | Allows Changing Alignment of point text. TACA marker |
<TACBIU> | boolean | t | Allows Changing Bold Italic Underline styles of point text. TACBIU marker |
<TACCC> | boolean | t | Allows Changing Column Count for rich formatted text. Without this marker, you can change a column count that you initially set up using the TACCC marker |
<TACF> | boolean | t | Allows Changing Font of point text. TACF marker |
<TACFC> | boolean | t | Allows Changing Font Color of point text. TACFC marker |
<TACFS> | boolean | t | Allows Changing Font Size of point text. TACFS marker |
<TACSTC> | boolean | t | Allows Change Stroke Color. <TACSTC_f> disallows for changing the color of text stroke. In this case, the stroke color will be the same as the text color. TACSTC marker |
<TACT> | boolean | t | Allows Changing Text. TACT marker |
<TAESH> | boolean | t | Allows Editing Shadow. TAESH marker |
<TAEST> | boolean | t | Allows Editing Stroke. TAEST marker |
<TATF> | enum of true | false | null | true | Allows Text Formatting defines how to edit text elements: change only the content in a pop-up box or change both content and format in the Rich text editor. Without this marker, text will be edited depending on
TATF marker |
<TCC> | number | 1 | Applies only to PSD templates. Column Count of formatted text. For example, TCC marker |
<TCL> | number | Character Limit sets the maximum length of a text string which the user is allowed to enter into a rich formatted text element. By default, such a limit is not defined. TCL marker | |
<TMLC> | number | Max Line Count sets the maximum number of lines that the user is allowed to enter into a point text or plain bounded text. By default, such a limit is not defined. For details, refer to the character and line count topic. TMLC marker | |
<TMLL> | number | Max Line Length sets the maximum number of characters that the user is allowed to enter into a single line of point text or plain bounded text. By default, such a limit is not defined. For details, refer to the character and line count topic. TMLL marker | |
<TOS> | enum of clip | expandBox | fitToBox | fitToWidth | clip | Overflow Strategy defines how to change plain bounded or rich formatted text if it goes out of its bounds. By default, such a text is clipped.
TOS marker |
<TPH> | boolean | t | Text Placeholder motivates a user to fill out a text element. It shows a prompt on the canvas and if not filled out, it appears neither in the hi-res output nor on proof images. This marker is applicable for both bounded and point text. TPH marker |
<TSM> | size | size | Shrink Mode of plain bounded text that goes out of its bounds and should be fitted. This marker changes the font size. Whithout this marker, such a text is clipped by default. TSM marker |
<TVA> | enum of top | center | bottom | top | Defines Vertical Alignment for a text string in a text area:
TVA marker |
Shapes
| Marker | Type | Default value | Description with a JSON example |
|---|---|---|---|
<SACBC> | boolean | t | Allows Changing Border Color. SACBC marker |
<SACBW> | boolean | t | Allows Changing Border Width. SACBW marker |
<SACFC> | boolean | t | Allows Changing Fill Color. SACFC marker |
<SR> | boolean | t | Rasterizes shape elements. SR marker |
Layers
| Marker | Type | Default value | Description with a JSON example |
|---|---|---|---|
<LACO> | boolean | t | Allows Changing Opacity of layers. LACO marker |
| Setting up predefined values for layers | |||
<IASF_folder> | Text | Image from Allowed Subfolder. You can specify a subfolder in IASF marker | |
<MVI> | number | 1 | Applies only to PSD templates. Multi-Value Item. For example, the MVI marker |
<MVIKT> | boolean | t | Applies only to PSD templates. Multi-Value Item Keeps Transforms. By default, the MVIKT marker |