Skip to content

Instantly share code, notes, and snippets.

@fredrick-dominy
Last active June 11, 2022 20:14
Show Gist options
  • Save fredrick-dominy/45a5ebe754652d87a1281f20124e2eaa to your computer and use it in GitHub Desktop.
Save fredrick-dominy/45a5ebe754652d87a1281f20124e2eaa to your computer and use it in GitHub Desktop.
Richtext-limited-options
<description
jcr:primaryType="nt:unstructured"
cq:showOnCreate="{Boolean}false"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"
name="./newsDescription"
externalStyleSheets="/etc/designs/<PROJECT>/clientlib-author.css"
useFixedInlineToolbar="{Boolean}true">
<rtePlugins jcr:primaryType="nt:unstructured">
<format
jcr:primaryType="nt:unstructured"
features="[bold,italic]"/>
<subsuperscript
jcr:primaryType="nt:unstructured"
features="*"/>
<paraformat
jcr:primaryType="nt:unstructured"
features="[]">
<formats jcr:primaryType="cq:WidgetCollection">
<p
jcr:primaryType="nt:unstructured"
description="Paragraph"
tag="p"/>
<h1
jcr:primaryType="nt:unstructured"
description="Header 1"
tag="h1"/>
<h2
jcr:primaryType="nt:unstructured"
description="Header 2"
tag="h2"/>
<h3
jcr:primaryType="nt:unstructured"
description="Header 3"
tag="h3"/>
<h4
jcr:primaryType="nt:unstructured"
description="Header 4"
tag="h4"/>
<h5
jcr:primaryType="nt:unstructured"
description="Header 5"
tag="h5"/>
<h6
jcr:primaryType="nt:unstructured"
description="Header 6"
tag="h6"/>
</formats>
</paraformat>
<misctools
jcr:primaryType="nt:unstructured"
features="specialchars">
<specialCharsConfig jcr:primaryType="nt:unstructured">
<chars jcr:primaryType="nt:unstructured">
<copyright
jcr:primaryType="nt:unstructured"
entity="©"/>
<trademark
jcr:primaryType="nt:unstructured"
entity="â„¢"/>
<registered
jcr:primaryType="nt:unstructured"
entity="®"/>
<emDash
jcr:primaryType="nt:unstructured"
entity="—"/>
<pound
jcr:primaryType="nt:unstructured"
entity="£"/>
<nbsp
jcr:primaryType="nt:unstructured"
entity=" "/>
</chars>
</specialCharsConfig>
</misctools>
<links jcr:primaryType="nt:unstructured">
<linkDialogConfig
jcr:primaryType="nt:unstructured"
height="{Long}316">
<linkAttributes jcr:primaryType="cq:WidgetCollection"/>
</linkDialogConfig>
</links>
<edit
jcr:primaryType="nt:unstructured"
defaultPasteMode="plaintext"
features="[cut,copy,paste-plaintext]"
stripHtmlTags="{Boolean}true"/>
<spellcheck
jcr:primaryType="nt:unstructured"
features="*"/>
<findreplace
jcr:primaryType="nt:unstructured"
features="*"/>
<undo
jcr:primaryType="nt:unstructured"
features="*"/>
<lists
jcr:primaryType="nt:unstructured"
features="[]"/>
<justify
jcr:primaryType="nt:unstructured"
features="[]"/>
<styles
jcr:primaryType="nt:unstructured"
features="[]">
<styles jcr:primaryType="cq:WidgetCollection">
<plainSpan
jcr:primaryType="nt:unstructured"
cssName="defaultSpan"
text="Default (add span tag)"/>
<note
jcr:primaryType="nt:unstructured"
cssName="note"
text="Footnote"/>
<intro
jcr:primaryType="nt:unstructured"
cssName="intro"
text="Intro text"/>
</styles>
</styles>
</rtePlugins>
<uiSettings jcr:primaryType="nt:unstructured">
<cui jcr:primaryType="nt:unstructured">
<inline
jcr:primaryType="nt:unstructured"
toolbar="[format#bold,format#italic,#paraformat,#justify,#lists,links#modifylink,links#anchor,links#unlink,#styles,subsuperscript#subscript,subsuperscript#superscript,findreplace#find,findreplace#replace,undo#undo,undo#redo,spellcheck#checktext,misctools#specialchars,#format]">
<popovers jcr:primaryType="nt:unstructured">
<justify
jcr:primaryType="nt:unstructured"
items="[justify#justifyleft,justify#justifycenter,justify#justifyright]"
ref="justify"/>
<lists
jcr:primaryType="nt:unstructured"
items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]"
ref="lists"/>
<paraformat
jcr:primaryType="nt:unstructured"
items="paraformat:getFormats:paraformat-pulldown"
ref="paraformat"/>
<styles
jcr:primaryType="nt:unstructured"
items="styles:getStyles:styles-pulldown"
ref="styles"/>
</popovers>
</inline>
</cui>
</uiSettings>
<htmlRules jcr:primaryType="nt:unstructured">
<docType jcr:primaryType="nt:unstructured">
<typeConfig jcr:primaryType="nt:unstructured"
useSemanticMarkup="{Boolean}true">
<semanticMarkupMap
b="strong"
i="em"/>
</typeConfig>
</docType>
</htmlRules>
</description>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment