I have been having an issue with some of the classes I add to the column add-on disappearing?
I added a class (for example my-stylish-col) to certain columns in the page and after saving it all worked as expected.
I then went to edit the page to add more content and noticed that my class was no longer listed in the classes for that column?
I have been able to replicate the issue using:
- Clean Joomla 4 install (ver 4.3.2) (no other extensions installed)
- T4 Page builder package 2.0.1 (content-T4 page builder plugin 1.1.2)
The issue appears to relate to any class I add that ends in col?
To replicate the issue:
- Open T4 page builder all pages admin page.
- Create a new page.
- Add a section with multiple columns.
- Add a text field or image to the column.
- Select the column and add new class ending in col (in the images attached I used test1 test1-col and test1col).
- Save and close the page.
- Open the page you created in a browser and classes will be present on the columns (see image 1).
- From the T4 page builder admin page use the edit button to open the page you just saved for editing.
- Checking the column you will find that any class ending in col will no longer be listed in the classes.
- Note that classes you add that do not end in col remain.
- If you save the page and refresh it in the browser you will see that the classes have been removed.