Skip to content

Heisenberg v0.0.3 — Host-app compatibility fix

Choose a tag to compare

@tedydonel tedydonel released this 27 Aug 12:31
· 3 commits to master since this release

Heisenberg v0.0.3 — Host-app compatibility fix

This patch fixes two issues that broke the editor when used inside a host Laravel application (e.g., LangeSky):

Component namespace collision resolved — Heisenberg's Blade components (x-ui.tabs, x-live.canvas, etc.) were registered without a namespace, so a host app's identically-named components would shadow them. This caused the editor to render without any CSS or JavaScript. All components are now namespaced under heisenberg:: (e.g., x-heisenberg::ui.tabs).

Asset URLs now use named routes — Hard-coded paths like /heisenberg-assets/editor.css broke when the app was deployed behind a URL prefix. These now use route() helpers.

Upgrade: Update your Composer constraint to ^0.0.3 and run composer update heisenberg/heisenberg. Clear cached views and config (php artisan view:clear && php artisan config:clear).