この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
What is the best approach to add new style to list in text? Checkmark ones:
/libs/foundation/components/text/cq:dialog/content/items/tabs/items/text/items/column/items/text/rtePlugins/lists
I want to add check mark style next to bullet and numbered.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Thanks I could do that way with adding new option style. I wish I could add checkmark list icon next to these icons (Bullets/Numbered/Checkmark).
For now, I will go with adding style with new css class.
In fact I need to add new node to list here:
/apps/myapp/components/base/widgets/rteconfig/lists/lists
Not sure what is the node and properties I have to use for it.
Thanks
表示
返信
いいね!の合計
Please go through the below links. Might be helpful.
https://docs.adobe.com/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html
http://stackoverflow.com/questions/24513241/adding-styles-to-rte-cq5-4
表示
返信
いいね!の合計
Add the list of styles as given below and then in your css file add the check mark image in css rule corresponding to the class name e.g
.className1{
background:url(check.png) 10px 0px
}
jcr:primaryType="cq:Widget"
fieldLabel="Text"
height="200"
name="./text"
xtype="richtext">
<rtePlugins jcr:primaryType="nt:unstructured">
<styles
jcr:primaryType="nt:unstructured"
features="*">
<styles jcr:primaryType="cq:WidgetCollection">
<className1
jcr:primaryType="nt:unstructured"
cssName="className1"
text="className1"/>
<className2
jcr:primaryType="nt:unstructured"
cssName="className2"
text="className2"/>
</styles>
</styles>
</rtePlugins>
</text>
表示
返信
いいね!の合計
Thanks I could do that way with adding new option style. I wish I could add checkmark list icon next to these icons (Bullets/Numbered/Checkmark).
For now, I will go with adding style with new css class.
In fact I need to add new node to list here:
/apps/myapp/components/base/widgets/rteconfig/lists/lists
Not sure what is the node and properties I have to use for it.
Thanks
表示
返信
いいね!の合計