2022.2

Table Of Contents
Editing preferences
ThesepreferencesdefinedifferenteditingoptionsintheDesignermodule.
l
Object Resizing for <div> elements:Thisdefinesinwhichcontextstoenabletheresizingof
<div>elements(includingPositionedandInlineboxes).Resizing<div>elementsmaycauselay-
outstoproduceundesirableresultsespeciallywhenusingFoundationtemplates.
l
Enable for Print Context:Checktoenable<div>resizinginthePrintcontexts.
l
Enable for Email Context:Checktoenable<div>resizingintheEmailcontexts.
l
Detail tables preview limit
l
Maximum number of records to show in preview:Thissettinglimitsthenumberof
recordstoshowindetailtablesintheDesigner(Previewtab).Thelowerthisnumber,the
shorterthetimebeforetheprevieworthenextrecordwillappear.
l
Dragging data fields to the editor.Whenyoudrag-and-dropadatafieldintoatemplate,a
placeholderappearsinthetemplateandascriptisadded(see"Insertingplaceholdersviadrag-
and-drop/double-click"onpage312).Thisoptionspecifieswhattouseasthescript'sselector.
l
New scripts use a class selector (recommended):Theplaceholderiswrappedina
Spanelement,andtheSpan'sclassisusedasselector.Thisisrecommendedbecauseitis
faster(see:"Optimizingscripts"onpage380).
l
New scripts perform a search and replace:Theplaceholdertextisusedasselector.
Tip: HoldtheALTkeywhiledraggingtochangethisbehavioronthefly.
Note: IftheoptionEvaluate Handlebars expressionsisenabledforasection,dragging
datafieldstotheeditorwillinsertexpressionsinsteadofplaceholdersandscripts.See
"Sectionpropertiesdialogs"onpage483.
CSSoptions
ACSSpreprocessorisaCSSextensionlanguagethatallowsyoutoenhanceCSSwithcode(vari-
ables,forexample)andthencompileitintoplainCSS.CSSPreprocessorSassisintegratedinCon-
nect.
FormoreinformationaboutSass,see:https://sass-lang.com/.
TheCSSoptionsrelatetothewaySass(.scss)filesarecompiledinConnect.Seealso:"UsingaSass
file"onpage270intheOnlineHelp:https://help.objectiflune.com/en/planetpress-connect-user-
guide/2022.2/.
Page 61