eZ Platform Discussions

[AlloyEditor] add class field on <table>


#1

Bonjour à tous.

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

Merci.


#2

Are these resources still relevant?


#3

Idem for adding classes to paragraphe.


#4

No. This is for ezplatform V1


#5

re

So, it seems to me that the rich text editor is governed by the rules defined here…

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.


#6

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.


#7

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