Log1x / acf-editor-palette

A Gutenberg-like editor palette color picker field for Advanced Custom Fields.
https://github.com/Log1x/acf-editor-palette
MIT License
95 stars 15 forks source link

Feature request: Support including the plugin with a theme #52

Closed ElvarP closed 1 year ago

ElvarP commented 1 year ago

What I mean is that I want to bundle this plugin with a theme I'm creating. Including the plugin in functions.php works fine, except the css and js files don't load in the Full Site Editor. I've been tinkering trying to get it to work but have not been able to come up with a solution.

Log1x commented 1 year ago

Any particular reason you want to bundle it with a theme vs using it as an mu-plugin alongside something like Bedrock?

In any case, I'm not sure the best approach for something like this given that we use plugin_dir_url() to handle the asset pathing. I've never tried to bundle a plugin inside of a theme before.

ElvarP commented 1 year ago

Yeah maybe this isn´t feasible. I can just a fork a version for myself.