Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating in php projects #48

Closed
luison opened this issue Dec 18, 2020 · 1 comment
Closed

Integrating in php projects #48

luison opened this issue Dec 18, 2020 · 1 comment

Comments

@luison
Copy link

luison commented Dec 18, 2020

Great project. I was wondering if there are any instructions or tips about how to integrate into a php project (not laravel) in such a way that one could isolate the editor to the content area. This is... include a fixed pre-code and post-code after the builder so one could see it integrated within the project styles and only be editing main content area.
Thanks.

@HansSchouten
Copy link
Owner

Hi thanks, yes that is possible by using layouts if I understand your use-case correctly. You could create a layout like here with all your default html and then within the layout paste the <?= $body ?> at the location that should be editable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants