HansSchouten / PHPageBuilder

A drag and drop page builder to manage pages in any PHP project
https://www.phpagebuilder.com
MIT License
721 stars 177 forks source link

Custom CSS classes with PHP block not working? #136

Open mrshoop opened 1 year ago

mrshoop commented 1 year ago

Hi Hans,

First of all thank you for this package.

We have problem adding custom CSS classes to a dynamic / PHP block (we're using the latest release v0.22)

1) Add a custom class to a PHP block : 1_adding_custom_class

2) Save and reload the editor, the custom class is gone: 2_after_save_and_page_reload

3) When verifying the results in the database, the class is saved : 3_database_results

The custom CSS class seems to be saved correctly in the database but is not displayed inside the editor. is this something that should work? (Is it even possible to assign custom classes to PHP blocks?)