DieSchittigs / contao-content-api-bundle

Contao JSON-API
MIT License
41 stars 9 forks source link

HTML-Extension are ignored #10

Open Firestorm87 opened 5 years ago

Firestorm87 commented 5 years ago

If you add other extensions which manipulate the html (concrete: the bootstrap grid https://contao-bootstrap.de) the rendered html in the output json does not include these manipulations.

Via CMS: <div class="mod_article first last block" id="article-1"><div class="ce_bs_gridStart first row"><div class="col-8"><div class="ce_text block"><p>Text</p>

Via API: <div class=\"mod_article block\" id=\"article-1\"><div class=\"ce_text block\"><p>Text</p>

saibotd commented 5 years ago

The loading order is determined in ContaoManager/Plugin.php

->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle']),

Not really sure how to tell BundleConfig to "load after everything else" …