Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel ckeditor

composer require unisharp/laravel-ckeditor
Comment

install ckeditor in laravel 8

<html>
<head>
    <title>How to Install And Use CKEditor In Laravel? - ItSolutionStuff.com</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-8 offset-2 mt-5">
                <div class="card">
                    <div class="card-header bg-info">
                        <h6 class="text-white">How to Install And Use CKEditor In Laravel? - ItSolutionStuff.com</h6>
                    </div>
                    <div class="card-body">
                        <form method="post" action="" enctype="multipart/form-data">
                            @csrf
                            <div class="form-group">
                                <label>Name</label>
                                <input type="text" name="name" class="form-control"/>
                            </div>  
                            <div class="form-group">
                                <label><strong>Description :</strong></label>
                                <textarea class="ckeditor form-control" name="description"></textarea>
                            </div>
                            <div class="form-group text-center">
                                <button type="submit" class="btn btn-success btn-sm">Save</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>    
</body>
   
<script src="//cdn.ckeditor.com/4.14.0/standard/ckeditor.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
       $('.ckeditor').ckeditor();
    });
</script>
  
</html>
Comment

laravel ckeditor

    <script src="/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
    <script src="/vendor/unisharp/laravel-ckeditor/adapters/jquery.js"></script>
    <script>
        $('textarea').ckeditor();
        // $('.textarea').ckeditor(); // if class is prefered.
    </script>
Comment

ckeditor laravel

<textarea  id="editor1" name="editor1" rows="10" data-sample-short></textarea>
<script src="https://cdn.ckeditor.com/4.19.0/standard/ckeditor.js"></script>
<script>
                     CKEDITOR.replace('editor1', {
      height: 400,
      baseFloatZIndex: 10005,
      removeButtons: 'PasteFromWord'
    });
                </script>
Comment

PREVIOUS NEXT
Code Example
Php :: php ob_start 
Php :: php get parameter 
Php :: first name of string php 
Php :: codeingiter 3 where in 
Php :: php get ip client 
Php :: delete multiple row in laravel 
Php :: csrf token mismatch laravel 
Php :: laravel get items by ids 
Php :: php get current dir mac 
Php :: delete bunch of rows in laravel 
Php :: nested resources laravel 
Php :: laravel merge collections 
Php :: php switch statement 
Php :: How do I convert a string to a number in PHP? 
Php :: codeigniter 3 send email smtp 
Php :: php import script 
Php :: PHP file reading modes with explaination 
Php :: php sort by associative array value 
Php :: how see the list all artisan in laravel 
Php :: laravel image path 
Php :: set laravel local time to indonesia 
Php :: how to use a session in blade 
Php :: php convert string to boolean 
Php :: rule In in laravel 
Php :: how to share a helper globally laravel 
Php :: What does PEAR stands for? 
Php :: php save array in mysql database 
Php :: How to run database Query in WordPress? 
Php :: delete model laravel 
Php :: How to get the current taxonomy term ID (not the slug) in WordPress? 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =