In this small tutorial i will show you How To Hide Toolbar In Summernote Editor, many times customer's have requirement to enable only specific tool or option in summernote editor,for this we need to customize toolbar in summernote.
We can very easily enable or disable summernote tools in laravel or php using javascript.
<script>
$(document).ready(function() {
$('#summernote').summernote({
height: 300,
placeholder: 'websolutionstuff.com',
toolbar: [
['style', ['bold', 'italic']], //Specific toolbar display
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
});
});
</script>
Using above javascript we can disply specific toolbar in summernote.
For Example:
Currently 4 different font style display in summernote but if you need only specific then try below
In this tutorial, I am giving information about laravel artisan command which can help you to clear your application'...
May-18-2020
In this article, I will guide you through the process of installing php-bcmath on Ubuntu. Php-bcmath is a PHP extension...
Jul-12-2023
In this article, we will see how to use an array in React JS. We can use the JavaScript standard Array functio...
Aug-12-2022
In this article, we will see how to create a dependent dropdown list in laravel using ajax. Many times we have requ...
Jul-05-2020