You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting up a Humhub intranet and want to add some extra features to comments from users.
The comment box is an editable div of which the content is cloned into an hidden textarea.
But when entering an url , it isn't recognized...
Hi,
I'm setting up a Humhub intranet and want to add some extra features to comments from users.
The comment box is an editable div of which the content is cloned into an hidden textarea.
But when entering an url , it isn't recognized...
Can you please help me finding a solution?
<textarea style="width: 300px; height: 100px;" placeholder="write here"></textarea>
$(document).ready(function () {$(this).html() == "" || $ (this).html() == " " || $(this).html() == "
$('.input-area').keyup(function () {
if (
") {
$(this).html(placeholder);
$(this).addClass('atwho-placeholder');
} else {
$('textarea').val(getPlainInput($(this).clone()));
}
})
});
$('textarea').liveUrl({
loadStart : function(){
console.log('start');
},
loadEnd : function(){
console.log('finished');
},
success : function(data) {
console.log(data);
}
});
The text was updated successfully, but these errors were encountered: