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 curl_exec get response json 
Php :: substract 2 dates php 
Php :: laravel get data from this year 
Php :: laravel drop table column 
Php :: get ip country 
Php :: laravel get auth user id 
Php :: cake php 2.x joins 
Php :: laravel redirect with message to section 
Php :: remove non-uppercase character php 
Php :: laravel collection transform 
Php :: carbon subtract two dates 
Php :: install php 7.3 ubuntu 
Php :: download file php 
Php :: Pass all data to all pages laravel 
Php :: laravel joins 
Php :: ubuntu install php 8 nginx 
Php :: wordpress exclude current post from loop 
Php :: create project laravel 
Php :: static modal 
Php :: php cut string 
Php :: Fetch Data From Database With PDO 
Php :: get data based on date in laravel 
Php :: token delete laravel 
Php :: default value date symfony entity 
Php :: live update mysql data in php 
Php :: phpmyadmin reset auto_increment 
Php :: PHP str_starts_with — Checks if a string starts with a given substring 
Php :: laravel get all records order by 
Php :: program logic for second largest number in an array in php 
Php :: check if date between two dates laravel 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =