Title1

Title2

Title3

12-2 網頁編輯器

一、官網:https://ckeditor.com/ckeditor-4/

二、使用:

    
<!-- ckeditor -->
<script src="https://cdn.ckeditor.com/4.16.1/standard/ckeditor.js"></script> 


    <div class="col-sm-12 mb-3">
      <label>網頁編輯器</label>
      <textarea class="form-control" name="col_8" id="col_8" rows="3"></textarea>
    </div> 
    <!-- ckeditor start-->
    <script>
      CKEDITOR.replace('col_8');
      CKEDITOR.config.allowedContent=true;
    </script>
    <!-- ckeditor end-->