easyblockshq / easyblocks

The open-source visual builder framework.
https://easyblocks.io
GNU Affero General Public License v3.0
241 stars 33 forks source link

feature(editor): hide topbar config #37

Open maarten2424 opened 3 months ago

maarten2424 commented 3 months ago

Description

Hide the topbar when hideTopBar is set to true in the easyblocks config

vercel[bot] commented 3 months ago

@maarten2424 is attempting to deploy a commit to the Shopstory Team on Vercel.

A member of the Team first needs to authorize it.

r00dY commented 3 months ago

@maarten2424 I think it's a great idea. We got quite a lot of requests for such feature, namely more control over the top bar. However, I feel that just adding hideTopBar flag is a bit simplistic. It indeed hides the top bar but also doesn't allow devs to control over switching breakpoints, enabling / disabling edit mode, calling undo / redo actions etc. This control should be passed to devs when top bar is hidden imo. Thoughts?

maarten2424 commented 3 weeks ago

@r00dY with the latest postMessage MR, i'm including events to set fire the header actions. Should we also include functions to the easyblocks editor?