Q & A /

Will Bootstrap Editor support my non-Bootstrap content?

Fred B. photo
Fred B. asked

I have Bootstrap website where contents were built without Bootstrap grid and widgets.

We want to install Bootstrap Editor and use it to create new and edit existing content. How will it support existing contents if it is not wraped with contaner, row and col-* elements?

Dmitriy Komarov photo
Dmitriy Komarov answered

There will be no problems with your content.

When Bootstrap Editor starts editing your contents it will automatically "fix" your content. 90% of this job we can describe as wrapping all non-Bootstrap elements with a single

<div class="container">
    <div class="row">
        <div class="col-12">
            Your content here
        </div>
    </div> 
</div>

All other 10% of this algorithm is special cases for empty content, empty paragraphs, etc..

This content fixing manipulation will not affect to content visualization and will be saved only if you press "Save". Anyway this is non destructive feature and you can use it without a fear.

Answer accepted