Ju99ernaut / grapesjs-template-manager

Template and page manager for grapesjs
MIT License
79 stars 35 forks source link

Display current page name #34

Closed badiuciprian closed 1 year ago

badiuciprian commented 1 year ago

Hi, I need to display the currently open page name somewhere to be visible without having to open the modal. Can it be achieved in some way? Thanks. Also it would be very helpful to have a confirmation dialog when deleting a page.

Ju99ernaut commented 1 year ago

You can get the current page name by using editor.Storage.getCurrentStorage().currentName). Will look into adding a confirmation dialog or at least a way to configure one.