I work with a lot of snippets opened in several browser tabs - and lose the overview often.
It would be very helpful to have the name of the snippet (or document) that is edited in the browser set as title of the browser tab.
How can I make this happen?
I guess a plugin is needed for this (listening to the edit event)?
The main problem is that Evolution CMS (Modx Evolution) loads the editor in an iframe.
Found a solution:
Create a plugin
Add this code: