リッチテキストエディタでカスタムスタイルを使用するオプションは、removed in Touch UI, as per the AEM 6.0 documentationでした。
- 編集
- 画像
- sourceedit
- スタイル
- テーブル
:
次のプラグイン/フィーチャーの組み合わせ
は、タッチ操作に最適化されたUIでサポートされていません。
ありがたいことに、彼らはAEM 6.2に戻ってきました。私は6.1については分かりませんが、おそらくサポートされています。
AEM 6.2 describes the steps necessary to enable the Styles RTE Pluginのマニュアルです。私は多くの読書が必要でしたが、Stylesプラグインが動作するようになりました。 TLのように
; DRは私だけのスタイル設定がクラシックUIの場合と同じフォーマットに従うと、あなたはまた、彼らは、視認性をドライブとしてコンポーネントのuiSettings
に注意を払う必要があると言うことができますTouch UIのボタンをクリックします。
ここでは例のフィールド構成(簡潔にするため省略cq:dialog
の残りの部分です:。
<text jcr:primaryType="nt:unstructured"
name="./text"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"
useFixedInlineToolbar="true">
<rtePlugins jcr:primaryType="nt:unstructured">
<format jcr:primaryType="nt:unstructured" features="*"/>
<justify jcr:primaryType="nt:unstructured" features="*"/>
<lists jcr:primaryType="nt:unstructured" features="*"/>
<links jcr:primaryType="nt:unstructured" features="*"/>
<styles jcr:primaryType="nt:unstructured" features="styles">
<styles jcr:primaryType="cq:WidgetCollection">
<warning jcr:primaryType="nt:unstructured" cssName="warning" text="Warning"/>
<note jcr:primaryType="nt:unstructured" cssName="note" text="Note"/>
<header jcr:primaryType="nt:unstructured" cssName="header" text="Header"/>
</styles>
</styles>
<paraformat jcr:primaryType="nt:unstructured" features="*">
<formats jcr:primaryType="cq:WidgetCollection">
<paragraph jcr:primaryType="nt:unstructured" description="Paragraph" tag="p"/>
<heading1 jcr:primaryType="nt:unstructured" description="Heading 1" tag="h1"/>
</formats>
</paraformat>
</rtePlugins>
<uiSettings jcr:primaryType="nt:unstructured">
<cui jcr:primaryType="nt:unstructured">
<inline jcr:primaryType="nt:unstructured">
<popovers jcr:primaryType="nt:unstructured">
<justify jcr:primaryType="nt:unstructured" ref="justify"/>
<lists jcr:primaryType="nt:unstructured" 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>
</text>
注text/rtePlugins/styles
とtext/uiSettings/cui/inline/popovers/styles
の要素が
は、ここでは、ページ上でどのように見えるかです: