Laravel ckeditor display raw data in the database and post form

Posted 1 month ago by jet

this is how it's showing

 <p><strong>this is hoe is showing</strong></p>
in the database and post form

create form

<div class="form-group">
                    <label for="content">Content</label>
                    <textarea name="content" id="content" required class="form-control" rows="5" placeholder="Content"></textarea>

                <div class="form-group">
                    <label for="status">Status</label>
                        <select class="custom-select" name="status" id="status" required>
                          <option value="1">Mr</option>
                          <option value="2">Mis</option>
                          <option value="3">male</option>
                <input class="btn btn-success btn-lg btn-block" type="submit" value="Create post">

     <script src="/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
     <script src="/vendor/unisharp/laravel-ckeditor/adapters/jquery.js"></script>
        CKEDITOR.replace( 'content' );

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.