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

[2.x] Virtual attributes #57

Open
megasteve19 opened this issue Jan 27, 2024 · 0 comments · May be fixed by #61
Open

[2.x] Virtual attributes #57

megasteve19 opened this issue Jan 27, 2024 · 0 comments · May be fixed by #61
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@megasteve19
Copy link
Member

megasteve19 commented Jan 27, 2024

Both EditorPhp class and Block class can have virtual attributes. Like Laravel models but in a simple matter.

This will also resolve #42 and possibly #50

@megasteve19 megasteve19 added the enhancement New feature or request label Jan 27, 2024
@megasteve19 megasteve19 added this to the 2.0 milestone Jan 27, 2024
@megasteve19 megasteve19 self-assigned this Jan 27, 2024
megasteve19 added a commit that referenced this issue Jan 29, 2024
- Remove `Data` class (#60)
- Rename `allows` to `sanitize` (#59)
- Virtual attributes, both for EditorPhp and Block (#57)
- Replacing built-in sanitizer with `symfony/html-sanitizer` (#51)
- Remove `$root` and `$model` from `EditorPhp`, which `$root` renamed to `$parent` (#42)

Also lots of refactors and template adjustments.
@megasteve19 megasteve19 linked a pull request Jan 29, 2024 that will close this issue
@megasteve19 megasteve19 linked a pull request Jan 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant