all the things working correctly but when I add froala in fancybox popup then space, arrowkeys not working also when I click f
key then act as full screen
please give me solution:
<textarea class="form-control froala-editor" id="comment"></textarea>
js:
$(function(){
$('.froala-editor').froalaEditor();//{'placeholder': 'Enter some text...'})
setTimeout(function(){
$('.froala-editor').froalaEditor('events.focus', true);
console.clear()
console.log('fired focus trigger!')
}, 2000)
$('.froala-editor').on('froalaEditor.focus', function (e, editor) {
console.log('received focus trigger')
});
});
you can try to use in IFRAME like below
or try use another one lik tinyMCE or CKEditor... Modal recreates textbox so you need to rebind editor may be your current issue.
i wish tihs answer helps