Hi @praveenk9057427,ClassicUI I used Out of the Box
functionalityhttps://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/configure-rich-text-editor-plug-ins.html?lang=en#table-stylesTouchUII
override CUI.rte.plugins.TablePlugin where add RTE Table Style select
fields for creation and modification RTE table.Add commands for these
fields where I set my css class to Table html
I hope this helps you. If you have any
questions, I will gladly tell you more)
For adding a new style for a table, I override Touch UI RTE table
dialog.As this example:
http://experience-aem.blogspot.com/2018/06/aem-64-touchui-rich-text-editor-table-plugin-extension-summary-field.htmlAnd
I added setting used for Classic UI:
As this User Guide
https://docs.adobe.com/content/help/en/experience-manager-64/administering/operations/configure-rich-text-editor-plug-ins.html#tablestylesNow,
I am reading "tableStyles" config and set all configuration to Granite
selection field...
Thank you for your answer, but I have to add the custom class to
, not a component.If the content author create 3 or 4 tables in
RTE, then class "newStyleTable" have to be in each table.So
unfortunately, this answer does not suit me((
Thank you so much for the answer.I looked at your plugin, but
unfortunately, this does not suit me for two reasons:1) It would be
difficult for the content author to add standard styles to each table.2)
This component doesn't change styles for tables. Perhaps it only works
with text.
I need to change the table style of the RTE plugin in my own style.To do
this, just add a new class to tag.For example:Could you tell me if there is any
possibility to change the styles Table RTE plugin out-of-the-box or have
to override Table RTE plugin with new styles?