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 :: Laravel Framework upgrade from older version 7.x to 8.x 
Php :: laravel npm run deve error mix 
Php :: php get data from url 
Php :: mysqli_test 
Php :: laravel migration delete column 
Php :: get post by meta value 
Php :: abort in laravel 
Php :: php 8 match 
Php :: wordpress create shortcode 
Php :: laravel vue error 500 
Php :: hide add new link on cpt page 
Php :: laravel eloquent set timestamps values upon seed 
Php :: PHP Display Posts by Category in WordPress 
Php :: php image resize 
Php :: how to delete empty rows in phpmyadmin 
Php :: laravel model fillable vs guarded 
Php :: root composer.json requires php ^7.3 but your php version (8.0.3) does not satisfy that requirement. 
Php :: laravel make model along with its controller and migration file 
Php :: laravel sanctum axios Unauthenticated 
Php :: laravel form 
Php :: wp php go back 
Php :: Get wordpress posts by category name..! 
Php :: php proper function comments 
Php :: laravel mail send 
Php :: laravel routes not working on production server 
Php :: symfony add field to entity 
Php :: laravel Please provide a valid cache path 
Php :: how to install laravel 
Php :: convert datetime to string in php 
Php :: php if short form 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =