Update custom module label on editor content tree

Hi all

I created a custom heading module so I can add classes and more style options to it.

It seems to work ok but I want the module label to change on the editor content tree when I edit the value.

It is a clone from default module header, so the only available options for it seem to be HEADER_TAG and VALUE.

Do you have any idea for it?

Thank you!!

Module labels do not support dynamic content. The most you could do is change it manually yourself by clicking the three dots and selecting “Rename Module”.


It’d be pretty great if these labels could be dynamic though. I suggest you submit a post in the Ideas forum to see if it can be implemented in the future.