Answers for "summernote editor in html"

PHP
0

summernote mentions ajax

$(document).ready(function()
{
    $('.editor').summernote({
        height: 300,
        hint: {
            match: /\B@(\w*)$/,
            users: function(keyword, callback) {
                $.ajax({
                    url: '/users/' + keyword,
                    type: 'get',
                    async: true //This works but freezes the UI
                }).done(callback);
            },
            search: function (keyword, callback) {
                this.users(keyword, callback); //callback must be an array
            },
            content: function (item) {
                return '@' + item;
            }
        }
    });
});
Posted by: Guest on October-31-2020
0

summernote editor in html

<?php echo "Merhaba"; ?>
Posted by: Guest on April-15-2022

Browse Popular Code Answers by Language