How to add text editor in website


index.php


     

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>How to add text Editor in website</title>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>

<body>

<div class="container" style="margin-top:150px;">

  <div class="row">

    <div class="col-sm-2"></div>

     <div class="col-sm-8">

     <textarea name="myTextarea1" id="myTextarea1"></textarea>

     </div>

      <div class="col-sm-2"></div>

  </div>

</div>

<script src="editor/tinymce.min.js" type="text/javascript"></script>

<script src="editor/editorBox.js"></script>

</body>

</html>