DEV Community

loading...

How To Install TinyMCE Editor In Laravel

websolutionstuff profile image Websolutionstuff Originally published at websolutionstuff.com ・1 min read
  • In this example I will give you example of install TinyMCE editor in Laravel, TinyMCE editor is rich-text opensource editor, It has the ability to convert HTML text area fields or other HTML elements to editor instances.

  • TinyMCE provides many features like PowerPaste, Spell Checker Pro, Image Upload, Accessibility Checker, Link Checker, Format Painter, Premium Skins & Icons and many more.

I have added code below for TinyMCE example.

<html>
<title>How to install TinyMCE editor in laravel - websolutionstuff.com</title>
<head>
  <script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>

</head>
<body>
    <h1 style="text-align: center;">How to install TinyMCE editor in laravel - websolutionstuff.com</h1>
  <textarea id="texteditor">websolutionstuff.com</textarea>
</body>
</html>
<script>
tinymce.init({
    selector: '#texteditor',
    height:350,
});
</script>
Enter fullscreen mode Exit fullscreen mode

And you will get output like this.

How To Install TinyMCE Editor In Laravel

Read Also : How To Add Ckeditor In Laravel

...

Read Also : How To Add Summernote Editor In Laravel

Discussion (0)

pic
Editor guide