Is there a frontend API that controls Editor UI or value?

I want to use a frontend API to change the class name or any values on the editor.

Sort of like:
Bricks.getField(‘margin_top’).set(50)

and then it changes the margin_top of an element.

Cheers!

1 Like

That would be cool -
I want to do other stuff similar. I am trying to learn how to work with templates,

get_header( string $name = null, array $args = array() ): void|false

I think adding some layer of interactivity using SolidJS or ReactJS would be super cool. I think ReactJS would work really well.