
<div class="text-justify lh-base">
    {!! preg_replace('/(<br\s*\/?>)+/', '<br><br>', nl2br(e($testi->testo))) !!}
</div>
<!-- Editor gratuito: utilizzo di CKEditor 5 Classic da CDN, gratuito per uso di base -->
<!-- <div class="mt-3">

    <textarea id="editor" class="form-control">{!! old('testo', $testi->testo) !!}</textarea>
    <script src="https://cdn.ckeditor.com/ckeditor5/39.0.1/classic/ckeditor.js"></script>
    <script>
        ClassicEditor
            .create(document.querySelector('#editor'), {
                toolbar: ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote']
            })
            .catch(error => {
                console.error(error);
            });
    </script>
</div> -->