froala / froala/KMSFroalaEditorBundle
Will there be multiple css and/or js files included?
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I think about to use this bundle for my projects.
BUT - I wonder if there will be multiple includes of this css and js files:
```
{# CSS. #}
{% if froala_includeFontAwesome %}
{% endif %}
{% if froala_includeCodeMirror %}
{% endif %}
{% if froala_includeCSS %}
{% if froala_arrOption[ "theme" ] is defined %}
{% endif %}
{% for plugin in froala_arrPluginCSS %}
{% endfor %}
{% endif %}
{# Editor textarea. #}
{{ value }}
{# JS. #}
{% if froala_includeCodeMirror %}
{% endif %}
{% if froala_includeJS %}
{% for plugin in froala_arrPluginJS %}
{% endfor %}
{% endif %}
{% if froala_customJS is defined %}
{% endif %}
```
I mean - this will be included for every form field, when I have multiple on my pages?
Is that right?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Twig template represented in the issue, especially the froala_includeCSS and froala_includeJS blocks, and reproduce a page containing multiple editor fields. Verify whether the external and bundle assets are emitted once or once per field; done means the behavior is confirmed and either documented or corrected with coverage for multiple fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100