Inwerpsel / use-theme-editor

A React theme editor
GNU General Public License v3.0
4 stars 0 forks source link

Self inspector #37

Open Inwerpsel opened 11 months ago

Inwerpsel commented 11 months ago

The inspector functionality can be used on the theme editor itself, which can add a lot of extra configurability.

In fact, it started out as a part of a single document that could be inspected like everything else. When the frame was added, at first the inspector would allow to inspect either the main or frame document at any time. However when history for inspections was added, it became too complicated to justify this.

Additionally, for this inspection to fully work it has to allow inspecting also the inspector itself, which worked but was very clunky and impossible (or very hard) to immediately see the result of many changes. So using a separate inspector for this makes sense anyway.

Challenges: