سامر نوت
Summernote ویرایشگر
Huro با ویرایشگر Summernote، یک ویرایشگر متن غنی جی کوئری زیبا و قابل تنظیم آسان در اینجا عرضه می شود. اگر به ویرایشگر vanilla js نیاز دارید، لطفاً ویرایشگر یکپارچه دیگر ما، ویرایشگر sun را در نظر بگیرید here
//JS CODE
$('#summernote').summernote({
placeholder: 'سلام اریک ',
tabsize: 2,
height: 250, // set editor height
minHeight: null, // set minimum height of editor
maxHeight: null, // set maximum height of editor
focus: true,
toolbar: [
['style', ['style']],
['font', ['bold', 'underline', 'clear']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['view', ['codeview', 'help']]
]
});
//MARKUP
<div id="summernote"></div>