Ibexa DXP Discussions

Community discussion forum for developers working with Ibexa DXP

[AlloyEditor] add class field on <table>

Bonjour à tous.

Do you know if it is possible to add a “class” field on the rich text tables?

Merci.

1 Like

Are these resources still relevant?

Idem for adding classes to paragraphe.

No. This is for ezplatform V1

re

So, it seems to me that the rich text editor is governed by the rules defined here…
https://github.com/ezsystems/ezplatform-admin-ui/tree/master/src/bundle/Resources/public/js/alloyeditor

Beyond the fact that I don’t understand anything about this code, I don’t see how we can intervene on it…

I didn’t find anything in the config : https://github.com/ezsystems/ezplatform-admin-ui/tree/master/src/bundle/Resources/config

Thank you for your help.

Hi there.

The editor does unfortunately not allow it for the time being. I think it is a good evolution, and I have created a story for it: https://jira.ez.no/browse/EZP-29301. We will see with the other Product Managers and the dev team when it can be prioritized. Feel free to subscribe to the story to follow-up on it.

Any feedback you may have is appreciated.

1 Like

Ok for adding class on rich text elements (table, paragraph, header, … )
I’ll wait and see how it goes.

One of the easy things to do right now is to add custom tags.


With the limitation that you can’t put rich text in a custom tag. Which makes them useless in most of the cases I have to manage…

Is it possible to add elements to the the text edit bar?

B I U Sup Inf … link
2018-06-15-150946_5520x1080_scrot

@skrosoft

Hello @remy_php
Have you tried https://doc.ezplatform.com/en/2.4/guide/extending_online_editor/#custom-tags?