mirror of
https://github.com/django-components/django-components.git
synced 2025-11-23 07:45:21 +00:00
feat: allow to highlight slots and components for debugging (#942)
This commit is contained in:
parent
da54d97343
commit
de32d449d9
14 changed files with 306 additions and 49 deletions
|
|
@ -180,7 +180,7 @@ def component_post_render(
|
|||
# </div>
|
||||
# ```
|
||||
#
|
||||
# Then we end up with 3 bits - 1. test before, 2. component, and 3. text after
|
||||
# Then we end up with 3 bits - 1. text before, 2. component, and 3. text after
|
||||
#
|
||||
# We know when we've arrived at component's end, because `child_id` will be set to `None`.
|
||||
# So we can collect the HTML parts by the component ID, and when we hit the end, we join
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue